Because many people ask this question here's a little tutorial how to give Minecraft more RAM memory to work.
Why should I allocate more memory?:
Normaly Minecraft works fine with his 1GB RAM. But if you allocatte more memory, you can better some situations:
- More RAM for texture pack buffering (128x ++)
- More RAM for singleplayer and multiplayer maps buffering (less reloading)
- Better working with RAM intensive mods
- Faster map rebuild
This tutorial requires that you've installed a full Java version, at least Java Standard Edition (Java SE / JDK), on your system. Else it might not work right. Installing the right Java version (also important: 32/64 bit) often solves many problems.
"Minecraft runs out of memory" happens often while running it with the wrong Java version! The preinstalled Java on new Computers-Systems might not support this.
If you don't have installed Java, get it here!
What do I have to do:
Since Minecraft version 1.6.X you can use the new launcher. With this, it is possible to integrate Java commands directly into the game. Here is what you have to do:
- Download and execute the new launcher
- In the section "Profile Selection" click on "Edit Profile"
- Under "Java Settings (Advanced), activate "JVM Arguments" and add into the text area this argument:
- Save this profile and execute Minecraft. You will always start with 2GB of RAM
Picture depending on the launcher version. It may look little different with a newer launcher
Which numbers can I insert?:
How much space can I allocate?:
At least not more than you've installed in your system.
To see how much RAM is free, open the Task Manager and change to the Performance Tab. Look how much Physical Memory is available / free.
Note that other programs (such as Winamp or Fraps) also need free RAM to work.
Something doesn't work? Possible solutions:
First of all check your batch file on spelling mistakes. This is one of the most frequently faults.
Then be sure you've installed a full Java version! Pre-installed versions might not support more memory.
Other solutions for old launcher:
You found a fault in the post? Something is missing? Tell it to me!
Please post questions and suggestions in this topic and not via PM!
P.S. Thank you for the positive reputations.
Edited by Gnampf, 04 March 2014 - 12:42 PM.