Buying RAM

How much RAM does Minecraft need, and how do you allocate more?

For Minecraft: Java Edition, a PC with 16GB of RAM is the comfortable target, and that's what Mojang now recommends. Give the game itself about 4GB for vanilla play and 6 to 10GB for big modpacks. Going past about 12GB almost never helps, and Bedrock Edition handles its memory on its own, so there's nothing to change there.

What does Mojang say you need?

Mojang raised the Java Edition requirements on July 21, 2026, and now also asks for a graphics chip that supports Vulkan 1.3:

Minimum (1080p, 30 fps, Fast) Recommended (1080p, 60 fps, Fancy)
System RAM 8GB with a graphics card, 12GB with integrated graphics 16GB
Graphics Vulkan 1.3, at least 2GB of video memory 6GB of video memory
CPU 4 cores A stronger modern processor

Below the minimum, Mojang says the game should still start, but it no longer promises decent performance or visuals.

The integrated graphics line is worth noticing. Graphics built into the processor have no memory of their own, so they borrow some of your system RAM. That's why a laptop or mini PC without a graphics card needs 12GB just to meet the minimum. Our guide on RAM for integrated graphics explains how that sharing works.

Why are there two different RAM numbers?

Java Edition runs inside Java, and Java only lets the game use as much memory as it's told to. That limit is called the allocation (or heap size), and it's set by a line like -Xmx2G in your launcher. The official launcher gives the game about 2GB by default.

So there's the RAM in your PC, and there's the slice of it Minecraft is allowed to use for the world, mobs and mods. Java, your graphics driver and Windows need more on top of that slice, and so does anything else you have open, like Discord or a browser.

If the allocation is too small, you'll see stutters, long pauses or an "out of memory" crash, especially with mods. If it's far too big, you starve everything else.

How much should you allocate?

These ranges line up across the launcher guides we checked:

What you play Allocate to Minecraft
Vanilla, or a few performance mods 2 to 4GB
Light modpacks or shaders 4 to 6GB
Heavy modpacks (100+ mods) 6 to 10GB

Then check that against the RAM you actually have. CurseForge suggests leaving 2 to 3GB free on an 8GB PC, which means about 3 to 4GB for the game. On a 16GB PC, 6 to 8GB is a sensible ceiling. With 32GB you can give a big modpack 10GB and still have plenty left for everything else.

A simple rule from those guides: keep Minecraft at or below about half your total RAM. The same guides put the hard limit at about 75%, past which the game may refuse to launch, but well before that anything else you open will start to struggle.

Why doesn't giving it more RAM always help?

Java cleans up memory the game no longer needs in batches. With a huge allocation, it can let more of that clutter pile up before cleaning, and the cleanups can cause noticeable hitches. That's one reason CurseForge says going past 12GB usually won't help, and that too much can add lag rather than fix it.

The other reason is simple: once the game has enough, extra memory just sits there. If vanilla Minecraft runs fine on 4GB, setting 12GB won't raise your frame rate. Frame rate depends far more on your graphics card, CPU and render distance.

How to change it in the official Minecraft Launcher

  1. Open the launcher and go to the Installations tab.
  2. Hover over the version you play, click the three dots, then Edit.
  3. Click More Options.
  4. In JVM Arguments, find -Xmx2G near the start.
  5. Change the number, for example to -Xmx4G for 4GB. Keep the capital G and don't add a space.
  6. Click Save and launch the game.

To check it worked, press F3 in game. The memory line reads something like "Mem: 1200/4096MB", and the second number is your allocation.

How to change it in other launchers

Most modpack launchers have a slider instead of a text field:

  • CurseForge: click the gear in the lower left, choose Minecraft under game-specific settings, then use the Allocated Memory slider under Java Settings. To set it for one modpack, open My Modpacks, click the three dots on that profile, choose Profile Options, untick Use System Memory Settings, and move the slider.
  • Modrinth App: open the profile's Options and turn on Override Global Memory Settings.
  • Prism Launcher and MultiMC: right-click the instance, choose Edit, open Settings, tick Memory and set Maximum Memory Allocation.
  • ATLauncher: Settings, then the Java/Minecraft tab, then Maximum Memory/Ram (entered in MB, so 6GB is 6144).

Many modpacks set a sensible allocation for you. If a pack's page recommends a number, start there.

What about running a server?

If you host a world for friends on the same PC, the server is a separate Java program with its own allocation, set the same way with -Xmx in its start script or in your server tool. Its memory comes on top of the game's, so a 16GB PC running a modded server and the modded game together gets tight fast. Hosting on a second machine or a paid server avoids the squeeze.

Does RAM speed matter for Minecraft?

Less than capacity. Any normal DDR4 or DDR5 kit is fine, and you won't notice the difference between mid-range and premium speeds in normal play. What does matter is running two sticks rather than one, so the memory works in dual channel. That's especially true with integrated graphics, which rely on system memory bandwidth. Our dual channel guide explains why one stick holds you back.

Should you buy more RAM for Minecraft?

If you have 16GB, probably not. That covers vanilla and most modpacks, as long as you set the allocation sensibly and close what you're not using. Our guide on making 16GB go further has more ways to free memory.

An 8GB PC is where an upgrade pays off. It meets Mojang's minimum only with a graphics card, and a modpack plus Windows will fill it quickly. Going to 32GB makes sense if you play heavy modpacks while streaming or running a server, or if you play other games that need it too. Our gaming RAM guide covers the wider picture.

The short version

  • Mojang recommends 16GB of system RAM for Java Edition, with 8GB as the minimum (12GB on integrated graphics).
  • Allocate 2 to 4GB for vanilla, 4 to 6GB for light mods or shaders, and 6 to 10GB for heavy modpacks.
  • Keep the allocation at or under about half your total RAM, and rarely above 12GB.
  • In the official launcher, edit -Xmx2G under Installations, Edit, More Options; press F3 in game to check.
  • Bedrock Edition has no memory setting to change.

Sources