This tutorial will show you how you can fix the Minecraft Out of memory error.
If you received the following message then you are at the right place to fix it.
Minecraft has run out of memory.
This could be caused by a bug in the game or by the Java Virtual Machine not being allocated enough memory. if you are playing in a web browser, try downloading the game and playing it offline.
To Prevent level corruption, the current games has quit.
Please restart the game.
The simplest solution is to go to Control Panel > Java > Java Tab > View > in Runtime Parameters add -Xmx800m {you can also do -Xmx300m (300MB) and -Xmx1g (1GB) etc.} > OK > OK > close control panel and run Minecraft.
If you don't wish to change the memory allocation for all Java programs follow the steps below:
Download Minecraft.jar file and place it anywhere you wish.
http://www.minecraft.net/download/minecraft.jar?v=1313864384895
or download it from http://www.minecraft.net it is under the Linux / Other section
Create a new windows shortcut to run minecraft or just copy and paste this "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame with the quotations in run to execute Minecraft and you can skip the following steps.
Set "Target" to "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame
Set "Start in" to be where the .jar file is. Example "C:\Minecraft"
Optional to set "Run" to Minimized
Optianal to "Change Icon" then browse and select minecraft.exe icon.
Optianal to increase memory usage for Minecraft change the first -Xms parameter to something higher.
You can also run minecraft in 64-bit with the above shortcut trick read about it here
If you received the following message then you are at the right place to fix it.
Out of memory!
Minecraft has run out of memory.
This could be caused by a bug in the game or by the Java Virtual Machine not being allocated enough memory. if you are playing in a web browser, try downloading the game and playing it offline.
To Prevent level corruption, the current games has quit.
Please restart the game.
The simplest solution is to go to Control Panel > Java > Java Tab > View > in Runtime Parameters add -Xmx800m {you can also do -Xmx300m (300MB) and -Xmx1g (1GB) etc.} > OK > OK > close control panel and run Minecraft.
If you don't wish to change the memory allocation for all Java programs follow the steps below:
Download Minecraft.jar file and place it anywhere you wish.
http://www.minecraft.net/download/minecraft.jar?v=1313864384895
or download it from http://www.minecraft.net it is under the Linux / Other section
Create a new windows shortcut to run minecraft or just copy and paste this "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame with the quotations in run to execute Minecraft and you can skip the following steps.
Set "Target" to "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame
Set "Start in" to be where the .jar file is. Example "C:\Minecraft"
Optional to set "Run" to Minimized
Optianal to "Change Icon" then browse and select minecraft.exe icon.
Optianal to increase memory usage for Minecraft change the first -Xms parameter to something higher.
You can also run minecraft in 64-bit with the above shortcut trick read about it here
thanks!
ReplyDelete