Invalid Maximum Heap Size

Discussion in 'Bukkit Help' started by KillerOnICe, Apr 14, 2014.

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


    Hey guys, I'm trying to keep a private server up for me and my friends but i wanted to increase the RAM allocated to the server, when I do, i get this message:

    "C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx4096M -Xms4096M -jar craftbukkit.jar
    Invalid maximum heap size: -Xmx4096M
    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 . . .

    I have 16G RAM so i know this is not overly stressing on my machine.
    I'm running windows 8.1 on my new computer, I'm used to windows 7 so i'm not sure if the OS is the issue, the Java, or something else entirely, any help would be greatly appreciated.
  2. Offline


    Uninstall all of your Java installations and install JRE 7 64 Bit, then change your start command to
     java -Xmx4096M -Xms4096M -jar craftbukkit.jar
  3. Offline


    I'm so stupid >.< The fact it was installed in the programs(x86) should have told me straight away!
    Thanks you SOOOO much!
Thread Status:
Not open for further replies.

Share This Page