Memory leak on latest version?
A couple days ago I started getting game freezes after a few hours of playing, often after changing dimensions. Task Manager reports that the CPU is fine but the RAM is entirely full (I have 32 GB, 16 allocated to minecraft via launcher). Is there a known issue where the RAM gets filled to unreasonable extent?
7 Replies
I had the issue where when generating LODs for a large world if I didn’t have the LODs rendered it would eat up more and more memory until it crashed
But it sounds like you have them rendered so idk
Have you updated to the latest nightly?
yes, latest nightly
it's multiplayer so no client side chunk generation, just rendering explored chunks
You allocated 16GB, 16GB was used
You can try different GC or reduce your allocated RAM to 12
Dont allocate 16 gigs
Unless you actually need it
But its better to optimise your java args instead of just throwing more ram at the game
The problem is that java with dh used 27
I dont remember exactly why it happens, but Java just does that if you allocate a lot of ram
It just starts using even more
Java is very weird
Try allocating just 8 gigs and take a look at this guide
GitHub
GitHub - brucethemoose/Minecraft-Performance-Flags-Benchmarks: Sane...
Sane, Benchmarked Java Flags and Tweaks for Minecraft - brucethemoose/Minecraft-Performance-Flags-Benchmarks