1
Running Server With 2GB of Ram
Hi, I have a server that has been running on 1 GB for a couple of months now. I was wondering how to make it run with 2GB of ram because whenever I do, I get an error. Here is my start.bat If you can change the 1024 to 2048 that would be great. Thanks.
My error when I try to run it with 2 GB is this:
Click to reveal
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE
My error when I try to run it with 2 GB is this:
Click to reveal
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.
Press any key to continue . . .
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.
Press any key to continue . . .
5
You are using the 32-bit version of java, which does not support more than ~1.5gigs of RAM for a process. To fix this, you will need the 64 bit version.
Thank you.
8 GB
How much RAM on computer?
8GB
