#Memory Issue
1 messages · Page 1 of 1 (latest)
Actually your java args seem to be set to use 8, I guess it failed to allocate around 2GB...
strangely your jvm is also 64 bit
Thats usually the issue, yeah
please try downloading a different distribution ,adoptium java instead
Not this case
are you.. in mc?
it starts
but randomly gets that crash
midgame
like after 10 minutes of playing
yeah i read the error log and was confused myself
after the first time i thought like ok ill just allocate more
but same crash on 10 and 12
Sounds like a memory leak which causes an OOM crash, although the threaddump here is unusual for that
Allocating more than half your system memory is not really recommended
Use too much and your computer suddenly does not have enough memory to function
Maybe it is related to the swapfile?
i did put in some arguments
Which ones?
just the aikar ones but that was for another modpack
i removed them and am playing for like ~8 mins rn
wait ill send them here
-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true
could this be the cause
i don't know what these settings even mean
no its not because of that
please try removing your java
and installing adoptium temurin
okay i think i know why
whys that
the moment i activated screen share
to discord
it instantly crashed
i usually stream gameplay to my friends
🤨
I assume you were streaming the app vs. Your full screen?
Either way, it might actually just be that you flat out run out of memory then
Discord screenshare is surprisinly heavy
Just have task manager open next time you try
allright
The fact is if your memory goes to 100% and your game tries to allocate more memory, it has to rely on swap, or crash
ahh makes sense
i think all the times where it happened randomly i started stream in the main menu of the game
so after 5 min of playing it died
i just now did it while playing in server and it just instantly went poof
F
No worries 👍