1
Interesting .bat Error when allocating more RAM
Hello!
I am writing this quick post because I have a error when trying to Allocate more RAM.
The error is :
My Java is 64 bit and is updated,
My .bat code is :
Thanks! I hope you can help.
I am writing this quick post because I have a error when trying to Allocate more RAM.
The error is :
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 . . .
My Java is 64 bit and is updated,
My .bat code is :
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xincgc -Xmx2G -jar craftbukkit.jar -o true
PAUSE
Thanks! I hope you can help.
2
In your .bat file it is directing it to your 32 bit java it looks like. When it says programfiles(x86) that means its your 32 bit applications. Also, make sure you have a 64 bit operating system installed. If you don't, a 64 bit java installation won't make any difference.
What are the specs of your machine? Can you get a screenshot of
from your console as well?
java -versionfrom your console as well?
