Skip to main content
  1. Home
  2. Computing
  3. Gaming
  4. How tos

How to allocate more RAM to Minecraft

Add as a preferred source on Google
The cover art for Minecraft.
Mojang

While there are plenty of tips and tricks for what to do within Minecraft, not many people talk about how to boost performance. Classic Minecraft Java Edition can get bogged down by shaders and modpacks that expand and update the game beyond its original scope. Fortunately, you can always just allocate more RAM to it so that performance doesn't suffer too much -- as long as you have enough RAM, that is.

Here's how to allocate more RAM to Minecraft, regardless of how much you have in your system.

Recommended Videos

Difficulty

Moderate

Duration

15 minutes

Note: Minecraft Bedrock Edition can take advantage of more RAM without you having to manually adjust anything. This tweak is for the Java Edition of Minecraft only.

The cover art for Minecraft.
Mojang

How to allocate more RAM to Minecraft

The Java version of Minecraft has (by modern standards) a relatively small quantity of allocated RAM, and without you giving it access to more through the launcher, it can't go beyond that. That leads to poor performance or crashes when the memory runs out. Here's how to allocate more.

Step 1: Open the Minecraft launcher and then select the Installations tab.

Step 2: Find the profile that you want to change memory allocation for, and select the three-dot menu icon.

Step 3: Select the More options button under the "Resolution" subheading.

Step 4: Scroll down to "JVM Arguments" and look for the "-Xmx2G" parameter.

Step 5: Select the text and use your keyboard to change "-Xmx2G" to "-Xmx8G". That will allocate 8GB of RAM to the Java launcher, which for most installations should be enough. That said, you can theoretically change it to any quantity divisible by 2 that is under your total RAM quantity.

Step 6: When you've set it to the quantity you want, close down those options menus and run Minecraft again to see how it performs.

If you want to see how much memory you have left over, while playing, press and hold the F3 function key. It will display how much memory you have to spare and whether you might need to allocate more.

Minecraft RTX ray tracing beta
Matthew Smith / Digital Trends

How to allocate more RAM in the CurseForge launcher

If you're using the CurseForge launcher, you can allocate more RAM in a similar but slightly different way.

Step 1: Open the CurseForge app, and select the Settings cog in the bottom-left corner.

Step 2: Under the "Game Specific" subheading, select Minecraft.

Step 3: Scroll down to find the Java Settings category. Use your mouse to adjust the slider bar to allocate more RAM to the game. Again, 8GB should be enough for more installations, but you can go more or less depending on your hardware and specific needs.

Problems allocating more RAM to Minecraft

  • Can't allocate more than 2GB: If you find that you can't allocate more RAM than 2GB, you may need to update your Java client. Download the latest version of Java here. Then close and re-open the Minecraft launcher and try again.
  • Minecraft crashes after updating RAM allocation: If you're experiencing crashes or lagging during play, you may need to allocate more memory. Try increasing the count by another few gigabytes and try again. Alternatively, if you definitely have enough, try allocating less, as you may have gone too far and allocated memory that was needed elsewhere.
Jon Martindale
Jon Martindale covers how to guides, best-of lists, and explainers to help everyone understand the hottest new hardware and…
AMD’s new budget CPUs could be a lifeline for cash-strapped PC builders
AMD Ryzen 5 5500F CPU

AMD has added two new six-core processors to its desktop lineup. The Ryzen 5 5500F brings six Zen 3 cores and 12 threads to the older AM4 platform for around $99, while the Ryzen 5 7500 moves to Zen 4 and AM5 for around $189, complete with integrated Radeon graphics.

The Ryzen 5 5500F arrives at an interesting time for budget PC builders. Putting together a current-generation system, or moving an existing PC to one, can get expensive quickly. An AM5 build requires a compatible motherboard and DDR5 memory, and RAM prices have risen sharply. For someone already running an AM4 system, the 5500F offers an inexpensive processor option without requiring a platform-wide replacement.

Read more
Leaked Lenovo Googlebook 15 specs suggest Google is targeting the premium laptop segment
The upcoming Googlebook could feature a 120Hz OLED display, an Intel Core Ultra processor, up to 32GB of RAM, and a surprisingly versatile selection of ports.
Googlebook

We recently got our first look at Lenovo's upcoming Googlebook, with leaked renders showcasing its design, port selection, and interface. Now, with just days left until Google's September 15 Googlebook preview event, a new leak has revealed the notebook's specifications.

Nothing like a bargain-bin Chromebook

Read more
What Should You Look for in a Windows 11 Laptop in 2026?
Forget the longest spec sheet. The right Windows 11 laptop is the one that fits naturally into your everyday routine.
Dell XPS 13 Hands-on

This post is brought to you in paid partnership with Dell

Finding the best Windows 11 laptop isn't about chasing the newest processor or spending the most money. It's about choosing a laptop that feels effortless to live with every day. The best models are the ones you don't have to think about. They wake up quickly, stay comfortable on your lap during a cross-country flight, slip easily into a backpack for the morning commute, and still have enough battery left when you're answering emails from the airport lounge or finishing a presentation at the kitchen table.

Read more