What is the optimal amount of RAM I should have allocated to MC?

I'm using shaders, the physics mod, and DH ofc. I know that allocating too much ram messes with Minecraft and causes it to chug, so I'm not sure how much ram I should allocate to it.
1 Reply
Miki_P984w ago
Depends If you have mods that add a lot of ambience/music/textures you will need more It you use high res resourcepack or resourcepack with shader support you will need more As a baseline I would say: - if you have 16 GB in your PC allocate 6 GB - if you have 32 GB in your PC allocate 12 GB Going over 12 and even near it can cause stutter from the GC And then it is recommanded to tune the GC flags, e.g. switch to Generational Z