Memory Usage increase intentional or leaking?

I've been playing a solo world with a decent handful of mods using 128 render distance and bliss shaders. I have 24GB allocated to MC, a 5800X3D, and a 7800XT I usually log in and am already allocating around 18gb after it loads up all the LODs. If i go on any decent travel i can usually see my memory allocation go all the way to 100% (24GB) and the little usage window is going up to around 95-98% and going back down again. Eventually if i go too far too fast i'll get a permenant stutter and i have to completely restart my minecraft from the launcher. I play on extreme quality and use "Aggresive" CPU usage settings. Is this amount of ram usage normal? I see posts about high ram usage but the 18-24 jump after moving a thousand or two blocks almost seems like a leak?
15 Replies
Yeshi
Yeshi7mo ago
you've allocated too much memory minecraft will climb to near 100% memory usage before jumping back down from garbage collection also is this 2.0.1 or the nightliest? 2.0.1 has really bad memory usage issues
Space Ace
Space AceOP7mo ago
i keep up with the nightly updates if the button in the game actually updates it
Yeshi
Yeshi7mo ago
depends which release channel you're on latest commits failed to compile though so latest nightlies are broken atm. which version of mc are you playing on?
Space Ace
Space AceOP7mo ago
ive been on 1.20.1 ill check my DH version
Space Ace
Space AceOP7mo ago
2.0.4 is my current version. i just had to do a fresh reinstall today because i was getting a crash on initialization, but previously i was on the nightly updates for a solid week Once i login and the LODs build this is usually what i get Also the GPU usage is a weird thing that happens when i take a screenshot. it's really around 70% it isnt necessarily causing any performance issues at walking/exploring speed but i worry that once i get my elytra the game will be unplayable
Yeshi
Yeshi7mo ago
minecraft's gpu usage info is highly inaccurate reduce your allocation down to 8gb and see if it's any better at an allocation rate of 800mb/s it doesn't seem warranted
Space Ace
Space AceOP7mo ago
it goes up and down between 500mb/s and around 3500mb/s
Yeshi
Yeshi7mo ago
what's your cpu load preset at? worldgen can eat a ton of memory if you're at a high load preset each thread adds about a quarter gig
Space Ace
Space AceOP7mo ago
i use aggressive with everything set to 16 threads lmao
Yeshi
Yeshi7mo ago
OH you might just want to wait for distant generation to generate a good amount then turn down your worldgen thread count as a general rule of thumb, allocate 4 + (world gen thread count * 0.25) GB
Space Ace
Space AceOP7mo ago
ill see if i can tweak it a bit. i tested allocating 8gb and it was using a lot less but was getting less frames 12gb seems to be the sweet spot. Thank you for explaining how it works. If i use a few threads on each task do they all use different threads or do they all use the same 4 threads?
Yeshi
Yeshi7mo ago
different threads i'm p sure
Space Ace
Space AceOP7mo ago
yea its running better on my cpu as well now and i have everything set to 100% runtime. Thanks again for the explanation. I was worried i was gonna overheat my system for a bit lol
Yeshi
Yeshi7mo ago
🙏
Want results from more Discord servers?
Add your server