How To Allocate More Ram To Minecraft

Mxlitary

Active Member
Reputation
0
This tutorial is how to fix this error in Minecraft:

minecraftoutofmemory.png

_________________________________________________


Steps:

1. Create a New text file

2. Type this into the text file:

Code:
javaw -Xmx[Amount of MB you want to allocate]m -Xms[Half of the amount before]m -jar "[The location of the Minecraft.exe]"

So Mine would look like this:

Code:
javaw -Xmx4096m -Xms2048m -jar "C:\Users\Mxlitary\Desktop\Minecraft.exe"

3. Rename the text file to be Run Minecraft.bat

4. Run the file. You will now have as much RAM as you want.

_________________________________________________


GB to MB:


1GB 1024
2GB 2048
3GB 3072
4GB 4096
5GB 5120
6GB 6144
7GB 7168
8GB 8192
9GB 9216
10GB 10240
11GB 11264
12GB 12288
13GB 13312
14GB 14336
15GB 15360
16GB 16384


To check how much RAM you have. Go to the start menu. Right click computer, Click properties and it should say in there. (For Windows 7)

_________________________________________________


[video=youtube]http://www.youtube.com/watch?v=D_Yj...ug9ZT6EKw&index=27&feature=plpp_video[/video]

 
Thanks!

Hopefully I don't get the error anymore.
 
Back
Top