TeamAOF / Craftoria

8 stars 13 forks source link

[Bug Report]: Constant Crashes #214

Open GridinVladimir opened 1 day ago

GridinVladimir commented 1 day ago

Modpack Version

1.5.0

Describe your issue.

Hello. Game is randomly crashing while playing. Can't say what mod/interaction makes it crash. However Minecraft log does say that "There is insufficient memory for the Java Runtime Environment to continue". I've tried giving modpack more RAM (from 8GB, to 9, 10, even 12GB) and it did not help. Changing in-game quality and rendering settings did not do anything, crashes still occur. My laptop specs are: 16 GB of RAM; Intel Core i7-12700H; NVIDIA GeForce RTX 3070 Laptop 8GB. Maybe the problem is that Minecraft does not have enough memory? But I played modpacks that are much more modded than this, and it was just fine.

Crash Report

https://gist.github.com/GridinVladimir/a7756be5d34174d3f6b5e2fddc45a7b7

Latest Log

https://gist.github.com/GridinVladimir/10e385a60cb85079f814fb35ba6ce363

Have you modified the modpack?

No

User Modifications

No response

Did the issue happen in singleplayer or on a server?

Singleplayer

Discord Username

No response

GridinVladimir commented 6 hours ago

Keep getting "There is insufficient memory for the Java Runtime Environment to continue." crashes. Sometimes just opening random loot chest is enough, other times chunk loading causes it. No idea why there is insufficient memory, I've tried giving it more, but error persists

SubordinalBlue commented 6 hours ago

Do you have a crash report? The link labeled as such is another log.

GridinVladimir commented 6 hours ago

Do you have a crash report? The link labeled as such is another log.

my bad, copied the wrong file. what's crash report called? too much .log files, and not one that's outright called crash report.

GridinVladimir commented 6 hours ago

hope this is the one: https://gist.github.com/GridinVladimir/ac7d56019eed3073edcc71d20ba46802

SubordinalBlue commented 5 hours ago

Hmm.. this reads like your system (Windows, the computer as a whole) is running out of memory to let java have what you've told it to use:

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2080374784 bytes for G1 virtual space
# Possible reasons:
#   The system is out of physical RAM or swap space
#   The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full

What happens after rebooting the computer and not starting anything else but the game? (no browser, no steam, etc... for science sake ^^)

SubordinalBlue commented 5 hours ago

And also try with giving the game just 8G, not 10: -Xmx10496m. It should run fine with 8GB. That's how I run it, even with Distant Horizons added.

GridinVladimir commented 5 hours ago

Hmm.. this reads like your system (Windows, the computer as a whole) is running out of memory to let java have what you've told it to use:

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2080374784 bytes for G1 virtual space
# Possible reasons:
#   The system is out of physical RAM or swap space
#   The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full

What happens after rebooting the computer and not starting anything else but the game? (no browser, no steam, etc... for science sake ^^)

I did check that, after the reboot, resource monitor shows that I have around 4 gb of memory in use, even if I disable and exit out of all apps at the start. google results showed that apparently it's okay, because the system uses it, and when other apps require this memory, system gives it back, or something like that. I'll try 8GB again, thank you