1
So my server was running fine with 10BG ram set and then after I downloaded a new version of java, java 8 171, I got this error when starting up the server with 10GB as the maximum RAM and 5GB set to the minimum RAM. Any ideas on how/why this is happening, and how I could fix it
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.
Press any key to continue . . .
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.
Press any key to continue . . .
Create an account or sign in to comment.
4
1
u got the 64bit java installed?
1
It never said whether it was 64bit or not I just downloaded the recommended version on Javas home page.
1
then go to
https://java.com/en/download/manual.jsp
and download the 64bit version, i know the 32bit version maxes out at 1gb or 1024mb of ram, but first manually remove all java versions currently installed just so minecraft doesnt get confused
https://java.com/en/download/manual.jsp
and download the 64bit version, i know the 32bit version maxes out at 1gb or 1024mb of ram, but first manually remove all java versions currently installed just so minecraft doesnt get confused
1
that did the trick thanks for the help everything works fine now!