Why Minecraft needs more RAM and how to check what you have now
Minecraft uses RAM (the computer's short-term memory) to store the game world, textures, and everything happening on screen. By default, Minecraft gets only 1 gigabyte of RAM — enough for vanilla Minecraft on small worlds, but not enough if you use mods, play on large servers, or load detailed texture packs. When Minecraft runs out of RAM, the game stutters, freezes, or crashes.
Before you change anything, check how much total RAM your computer has. On Windows, right-click "This PC" or "My Computer" on your desktop, select Properties, and look for "Installed RAM" — you'll see something like "16 GB" or "8 GB". On Mac, click the Apple menu, select "About This Mac", and read the "Memory" line. Write down that number.
A safe rule: assign Minecraft half your total RAM, but never more than 8 gigabytes. If your computer has 16 GB total, give Minecraft 8 GB. If it has 4 GB total, give Minecraft 2 GB. This leaves enough RAM for Windows or macOS itself to run without slowing down.
Key Takeaways
- Minecraft defaults to 1 GB of RAM, which causes lag when you use mods or texture packs — increasing it to half your computer's total RAM usually fixes stuttering.
- Check your total RAM first by opening This PC Properties on Windows or About This Mac on Mac, then assign Minecraft no more than half that amount.
- The Java Edition of Minecraft (the version most people play) lets you change RAM in the launcher settings under "JVM Arguments" — you'll edit a line of text that starts with -Xmx.
- The Windows 10/11 Edition and Bedrock Edition do not let you manually assign RAM; they use what the system gives them.
- After you change the RAM setting, launch Minecraft once to confirm it works, then monitor performance — if it still lags, your graphics card or internet connection may be the bottleneck instead.
How to increase RAM in Minecraft Java Edition through the launcher
The Java Edition is the version most players use, and it's the one where you can manually change RAM. Open the Minecraft Launcher — the program you click to start the game. On the left side, click "Installations" (not "Play").
Find the version you play most often in the list. Hover over it and click the folder icon on the right side. This opens a folder called "instance" or shows you the game files. Go back to the launcher and instead click the three dots next to that version, then select "Edit".
In the window that opens, scroll down until you see "JVM Arguments" — a long line of text that starts with something like -Xmx1G. That 1G means 1 gigabyte. Change it to the amount you want. If you want to give Minecraft 4 gigabytes, change -Xmx1G to -Xmx4G. If you want 8 gigabytes, write -Xmx8G. Do not add spaces or change anything else on that line.
Click "Save" at the bottom right. Close the launcher completely, then reopen it and click "Play". Minecraft will start with the new RAM amount. The first launch takes longer because the game is loading more into memory — this is normal.
Finding and editing JVM Arguments if you don't see them
Some launcher versions hide the JVM Arguments field by default. If you don't see it when you click "Edit", look for a toggle or checkbox labeled "JVM Arguments" or "Advanced Settings" — click it to reveal the text field.
If you still don't see it, your launcher may be an older version. Update the Minecraft Launcher from the Microsoft Store (Windows) or the official Minecraft website. Older launchers sometimes don't display this option clearly.
On Mac, the process is identical — open Installations, click the three dots next to your version, select Edit, scroll to JVM Arguments, and change -Xmx1G to your desired amount. Save and relaunch.
What to do if you use a third-party launcher like MultiMC or Prism
If you play modded Minecraft through MultiMC, Prism Launcher, or a similar tool, the RAM setting is in a different place. Open the launcher, right-click the instance (the modpack or world you play), and select "Edit Instance" or "Settings".
Look for a tab or section called "Java" or "Memory". You'll see fields for "Maximum Memory" or "Max RAM" — enter the amount in megabytes (so 4 GB = 4096 MB) or gigabytes depending on what the launcher asks for. Save and launch the instance.
Each modpack or instance can have its own RAM setting, so if you play multiple modpacks, you can give more RAM to the heavy one and less to the lighter one.
How much RAM should you actually assign
The amount depends on what you're playing. Vanilla Minecraft with no mods runs fine on 2 to 3 gigabytes. If you use a few mods (like Optifine or small quality-of-life mods), 4 gigabytes is usually enough. Heavy modpacks with 50+ mods need 6 to 8 gigabytes.
If you assign too much RAM, Minecraft may crash or your entire computer may slow down because Windows or macOS won't have enough memory left. If you assign too little, you'll see stuttering and lag spikes. Start with half your total RAM and adjust down if your computer feels slow, or up if Minecraft still lags.
Do not assign more RAM than you have. If your computer has 4 GB total and you try to give Minecraft 8 GB, the launcher will either refuse to start or your computer will use "virtual memory" (disk space pretending to be RAM), which is much slower and defeats the purpose.
Testing your change and troubleshooting if it doesn't help
Launch Minecraft and play for 10 to 15 minutes. Pay attention to whether the game feels smoother — less stuttering when you move around, faster chunk loading, and no freezes when you open your inventory. If it's noticeably better, you're done.
If Minecraft still lags after increasing RAM, the problem may not be RAM at all. Check your graphics card (GPU) — open Settings on Windows, go to System, then Display, scroll down and click "Advanced display settings", then "Display adapter properties". Look at the "Dedicated Video Memory" number. If it's less than 1 GB and you're using a heavy texture pack, your graphics card is the bottleneck, not RAM.
If you're playing on a multiplayer server and it still lags, your internet connection or the server itself may be slow. Ask other players if they experience lag too. If only you lag, restart your router or move closer to it.
Why the Windows 10/11 Edition and Bedrock Edition don't let you change RAM
The Bedrock Edition of Minecraft (the version on Windows 10, Windows 11, Nintendo Switch, and mobile) does not expose RAM settings to players. It automatically uses what the system gives it and adjusts based on available memory. You cannot manually increase it.
If you play Bedrock and experience lag, your options are limited: lower your render distance in Settings, turn off fancy graphics, close other programs, or upgrade your computer's RAM. If you want full control over RAM allocation, you need to play the Java Edition instead.
Frequently Asked Questions
Can I assign more than 8 GB of RAM to Minecraft?
Technically yes, but it's not recommended. Minecraft rarely uses more than 8 GB even with heavy modpacks, and assigning more leaves your operating system without enough memory to run smoothly. Your computer will slow down overall, defeating the purpose of the change.
Will giving Minecraft more RAM make it run faster?
Only if lag is caused by running out of RAM. If your computer has plenty of free RAM and Minecraft still stutters, the problem is your graphics card, CPU, or internet connection. More RAM won't help in those cases.
Do I need to restart my computer after changing the RAM setting?
No. Close the Minecraft Launcher completely, reopen it, and launch the game. The new setting takes effect when ready on the next launch.
What if the launcher won't start after I changed the JVM Arguments?
You likely made a typo in the text. Open the launcher again, go back to Edit, and check that the line reads exactly -Xmx4G (or whatever amount you chose) with no extra spaces or characters. Common mistakes are adding spaces around the number or accidentally deleting part of the text.
Can I assign different amounts of RAM to different Minecraft versions?
Yes. Each installation in the launcher has its own JVM Arguments setting. Edit them separately so you can give more RAM to a modded version and less to vanilla.