Solved Invalid maximum heap size: -Xmx8G

Discussion in 'Bukkit Help' started by maks244, Oct 9, 2017.

Thread Status:
Not open for further replies.
  1. Offline


    If I start my server, the console says:

    Invalid maximum heap size: -Xmx8G
    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.

    This is my Start.bat

    @Echo OFF
    "C:\Program Files (x86)\Java\jre1.8.0_144\bin\java.exe" -Xincgc -Xmx8G -XX:permSize=256m -XX:MaxPermSize=512m -jar spigot-1.8.7-R0.1-SNAPSHOT-latest.jar
    I solved this by upgrading my java version to 64 bit

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Oct 9, 2017
Thread Status:
Not open for further replies.

Share This Page