How Much RAM and How Many Cores Should You Give Minecraft?
November 20, 2026 · Windows 10/11 x64
Many players believe in a simple rule: the more gigabytes of RAM you give Minecraft in the launcher, the smoother it runs. You have 32 GB? You type -Xmx24G into the arguments, install a 250-mod pack and add shaders on top. After a few minutes the game starts freezing every so often for a split second or longer, and the frametime graph looks like a seismograph.
Minecraft: Java Edition runs on the Java Virtual Machine (JVM). Giving it far too much memory can hurt just as much as giving it too little. Below we explain why, how much RAM to allocate and where to set it.
How to measure 1% low · Low-end PC checklist · Download SmoothWizard
The Java RAM paradox
Why can too much RAM hurt smoothness? The answer is garbage collection (GC), Java’s memory cleanup.
- Garbage builds up: the game does not delete unused objects (broken blocks, particles, mob data) right away. They pile up on the heap, the memory area assigned to the game.
- Cleanup: every so often Java walks the heap and frees space. Part of that work briefly pauses the game.
- Bigger heap, rarer but longer cleanups: with a huge allocation more garbage accumulates, so a cleanup can take longer and be easier to feel. On top of that, RAM given to the game is not available to Windows and your other apps.
The exact effect depends on your Java version and garbage collector, but the rule is simple: give the game what it needs plus a sensible margin, not everything you have.
Cheat sheet: how much RAM for Minecraft?
| Setup | Suggested allocation (-Xmx) | Performance mods |
|---|---|---|
| Vanilla | 2-4 GB | Sodium (Fabric) |
| Shaders, medium render distance | 4-6 GB | Sodium + Iris |
| Medium pack (60-100 mods) | 6-8 GB | Fabric or NeoForge with FerriteCore |
| Large packs (200+ mods) | 8-10 GB, rarely more than 12 GB | Follow the pack author’s advice |
Treat this as a starting point, not a hard rule. Authors of big modpacks often list their own minimum, and when in doubt their numbers come first.
Where to set the RAM allocation
- Open the official Minecraft Launcher and go to Installations.
- Hover over your installation, click the three dots and choose Edit.
- Expand More options and change the
-Xmxvalue in JVM arguments, e.g.-Xmx6G. - Save and start the game. Measure smoothness in the same spot of the world before and after the change.
In modpack launchers (CurseForge, Prism, Modrinth) you usually set memory with a slider in the instance settings.
Two worlds in one game: client and server
Even in singleplayer, Minecraft runs a built-in server in the background:
- Local server: handles redstone, mobs, crops and world physics. It runs in ticks, and the ideal is 20 TPS.
- Client: draws the graphics, lighting and shaders, i.e. what you see as FPS.
Both run on separate threads of the same process, and the heaviest work of each falls mostly on one thread. That is why Minecraft depends more on one fast core than on core count. When a lot happens on the local server (farms, big redstone builds), the client feels it too, and broken blocks can disappear late (block lag).
What SmoothWizard PRO does here
SmoothWizard does not change the JVM arguments in your launcher. You set the RAM allocation yourself, using the table above. PRO helps with what happens around the game:
- Minecraft Optimizer: in the PRO game catalog it installs a performance mod pack for Fabric, Forge or NeoForge. Folders that may get replaced (such as mods and shaderpacks) are copied inside
.minecraftwith the date in the name. - Background pause: while you play, PRO pauses unnecessary background programs so they do not compete with Minecraft for the CPU.
- Game cores: you can choose which cores the game gets and which ones the background uses. The PRO Settings Seeker measures whether it helps on your PC.
Buying PRO does not guarantee a specific frame rate. PRO comes with a 7-day trial.
FAQ
Click a question to expand the answer.
Is OptiFine still the best performance mod?
On newer versions (1.16 and up), Fabric with Sodium and Lithium, plus Iris for shaders, usually works better. These mods are actively maintained and play well with other mods.
Why does the game hammer the CPU when loading new chunks?
Generating new terrain is a lot of computation. Pre-generating the world (with a mod like Chunky), a lower simulation distance and closing background apps all help.
Is 16 GB of RAM in my PC enough?
For vanilla and medium packs, usually yes. For large packs, give the game 8-10 GB and close your browser so Windows has room to breathe.
How do I know my allocation is right?
Open the debug screen (F3) and watch memory use. If the bar almost never reaches the end and the game does not freeze, the allocation is enough. Compare your 1% low before and after as well.


