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
TheNewSky
TheNewSky6mo ago
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?
15Redstones
15RedstonesOP6mo ago
yes, latest nightly it's multiplayer so no client side chunk generation, just rendering explored chunks
Miki_P98
Miki_P986mo ago
You allocated 16GB, 16GB was used You can try different GC or reduce your allocated RAM to 12
MarijnIsN00B
MarijnIsN00B6mo ago
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
15Redstones
15RedstonesOP6mo ago
The problem is that java with dh used 27
MarijnIsN00B
MarijnIsN00B6mo ago
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
MarijnIsN00B
MarijnIsN00B6mo ago
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
Want results from more Discord servers?
Add your server