I mean it just takes a quick google search to confirm, did you try that? It looks like it creates a CPU bottleneck if you have too much RAM.
And it’s not rocket science to think that if you allocate more RAM to run the game, the JVM will have to clean more things up each time garbage collection runs?
It takes a quick google search to confirm that garbage collection does not just blindly sweep the entire ram and that generational zgc was specifically introduced to minimize pause times on high ram allocations, yes. And unless you get into very heavy modding or are running a large server, minecraft does not nearly require enough allocated ram to make even the default g1gc an issue. Generational zgc starts outperforming g1gc at around 12-16gb iirc. That is way more than vanilla or even many modpacks need.
Well you don't need 16+gb to push vanilla to its max. There is no reason for it. It'll work fine on 8. But even if high ram allocations are necessary, switching to a different gc can mitigate the issue. That's all I'm saying. Sorry if my very first sentence sounded condescending, I do admit that that can sound kinda rude in text form without any tone. Bad wording on my part. Was trying to say that what you were saying was a real issue way back in the day but has since been improved a lot.
View all comments
Show parent comment
0
u/Terrariant Oct 07 '26
I mean it just takes a quick google search to confirm, did you try that? It looks like it creates a CPU bottleneck if you have too much RAM.
And it’s not rocket science to think that if you allocate more RAM to run the game, the JVM will have to clean more things up each time garbage collection runs?