I am trying to allocate 10gb of ram to a server however I get this error Code: C:\McServer>"C:\Program Files (x86)\Java\jdk1.7.0_09\bin\java.exe" -Xincgc -Xmx1 0G -jar craftbukkit.jar Invalid maximum heap size: -Xmx10G The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. C:\McServer>PAUSE Press any key to continue . . . Here is my run.bat Code: "C:\Program Files (x86)\Java\jdk1.7.0_09\bin\java.exe" -Xincgc -Xmx10G -jar craftbukkit.jar PAUSE
32bit supports up to 4g Are you sure you have more then 10G? You might also want to set a -Xms field to get the server going.
32 bit can use a maximum of 1.5GB for any 1 task. It will not allocate anymore than that for any 1 task.
Actually, it depends on your OS http://plumbr.eu/blog/should-i-use-32-or-64-bit-jvm shoter Try simply: Code: java -Xms1G -Xmx10G -jar craftbukkit.jar -o true