1

Invalid maximum heap size after java8 171 download

eVisper's Avatar eVisper4/26/18 10:05 pm
1 emeralds 21.1k 4
4/27/2018 7:47 pm
eVisper's Avatar eVisper
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 . . .
Posted by eVisper's Avatar
eVisper
Level 2 : Apprentice Miner
1

Create an account or sign in to comment.

4

1
04/26/2018 10:13 pm
Level 26 : Expert Princess
star_weaver
star_weaver's Avatar
u got the 64bit java installed?
1
04/26/2018 10:40 pm
Level 2 : Apprentice Miner
eVisper
eVisper's Avatar
It never said whether it was 64bit or not I just downloaded the recommended version on Javas home page.
1
04/27/2018 2:42 am
Level 26 : Expert Princess
star_weaver
star_weaver's Avatar
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
1
04/27/2018 7:47 pm
Level 2 : Apprentice Miner
eVisper
eVisper's Avatar
that did the trick thanks for the help everything works fine now!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome