1

Running Server With 2GB of Ram

XvR3LAPS3vX 2/8/13 10:16 pm
563
2/9/2013 11:21 am
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
Click to reveal
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE
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
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 . . .
Posted by
XvR3LAPS3vX
Level 18 : Journeyman Dragonborn
7

  Have something to say?

JoinSign in

5

Rogue
02/09/2013 12:28 am
Level 12 : Journeyman Crafter
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.
1
XvR3LAPS3vX
02/09/2013 11:21 am
Level 18 : Journeyman Dragonborn
Thank you.
1
XvR3LAPS3vX
02/08/2013 11:22 pm
Level 18 : Journeyman Dragonborn
8 GB
1
RoboSharks
02/08/2013 11:16 pm
Level 26 : Expert Geek
How much RAM on computer?
1
XvR3LAPS3vX
02/08/2013 11:22 pm
Level 18 : Journeyman Dragonborn
8GB
1

Welcome