how to give minecraft more ram on the default launcher?

Modded world stutters badly and the debug screen says memory is maxed out. I have 16gb in the pc but I think minecraft is only using 2. Where is the setting and how much should I actually give it without slowing windows down?
2

Leave A Reply

Log in to post an answer.

2 Answers

barolideepak_hq Nov 25, 2026
britton_21
To check it took, load a world and press F3. Top right shows Mem with a percentage and the max you've allocated. If it still says 2048, you edited a different installation from the one you're launching, each profile has its own arguments.
jayr Oct 29, 2026
britton_21
Installations tab, hover your profile, click the three dots > Edit > More options. In JVM arguments there's a bit near the start that says -Xmx2G. Change the 2 to 4 (or 6 for a big modpack), save, done. Don't give it more than about half your system RAM, and more isn't always better. Vanilla rarely needs above 4, and going way higher can actually make stutter worse because the cleanup pauses get longer.