Is there some wierd memory leak with direct buffers?

My mod list: I attached it to a text file So I'm using distant horizon version 2.0.3 with iris 1.7 and all the other mods listed there. I'm also using generation zgc. I was out exploring (distant horizon distance 128) and just looking at my f3 screen when I noticed at one point the that direct buffers was expanding at a quite large rate. It got to the point that it was over 9 gig, after wich my computer locked up and after like a minute or two it suddenly started working. At wich point I had died. After respawning I checked the direct buffer usage again adn it was like under 30mb. Is this expected behavior for know? Also I'm on singleplayer.
Solution:
You've allocate 14 gigs to minecraft, thats way too much
Jump to solution
7 Replies
microwawe
microwawe3mo ago
Sorry discord was being wierd not allowing me to post this so it posted this twice
Solution
MarijnIsN00B
MarijnIsN00B3mo ago
You've allocate 14 gigs to minecraft, thats way too much
MarijnIsN00B
MarijnIsN00B3mo ago
Lower it to 8 More ram =/= Better In Minecrafts case
MarijnIsN00B
MarijnIsN00B3mo ago
Try these java args, they work really well in my experience. https://github.com/brucethemoose/Minecraft-Performance-Flags-Benchmarks
GitHub
GitHub - brucethemoose/Minecraft-Performance-Flags-Benchmarks: Sane...
Sane, Benchmarked Java Flags and Tweaks for Minecraft - brucethemoose/Minecraft-Performance-Flags-Benchmarks
microwawe
microwawe3mo ago
Okay thanks. I think this works better on the latest 2.0.4 dev builds and I did lower the ram. After that I've not had it crash at least on my limited testing. Thank you though.