1
Minecraft Server run.bat HELP!
C:\Documents and Settings\HP_Administrator\Desktop\MC\Bukkit 32 Bit>java.exe -Xm
x2G -Xms1G -jar craftbukkit.jar
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
C:\Documents and Settings\HP_Administrator\Desktop\MC\Bukkit 32 Bit>PAUSE
Press any key to continue . . .
Please help me fix this error :"(
x2G -Xms1G -jar craftbukkit.jar
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
C:\Documents and Settings\HP_Administrator\Desktop\MC\Bukkit 32 Bit>PAUSE
Press any key to continue . . .
Please help me fix this error :"(
Create an account or sign in to comment.
4
info Note: You're viewing a single reply. View all replies
1
You cannot allocate much more than 1024MB (1GB) to a 32-bit version of Java. Change the -Xmx2G to -Xmx1024M and get rid of the -Xms1G. This way it'll start at the bare minimum amount of RAM it needs, and work its way up as it needs more, up until 1GB.
So, the entire run.bat should look like this:
You don't need to know where your Java program files are located to run a server startup script. It knows what to do automatically.
EDIT: If your computer is running a 64-bit version of Windows, just go uninstall the 32-bit Java and install the latest 64-bit version. Then you can allocate the 2048MB like you wanted to originally, and more if you think your computer can handle it.
So, the entire run.bat should look like this:
@echo off
java -Xmx1024M -jar craftbukkit.jar nogui
pause
You don't need to know where your Java program files are located to run a server startup script. It knows what to do automatically.
EDIT: If your computer is running a 64-bit version of Windows, just go uninstall the 32-bit Java and install the latest 64-bit version. Then you can allocate the 2048MB like you wanted to originally, and more if you think your computer can handle it.