Error when attempting to add RAM.

Discussion in 'Bukkit Help' started by CrazyCoconut2, May 18, 2014.

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


    I can get my server working fine whenever I launch my run.bat like this:

    "C:\Program File\Java\jre7\bin\java.exe" -Xms1024m -Xmx1024m -jar craftbukkit.jar

    But when I try to add any RAM (I go by the GB'S), and change the Xm's to
    -Xms2048m -Xmx2048m

    I get this error:
    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...

    I have a Windows 8 x86, I can host the server fine with plugins and people playing with the one GB, but it always puts up this error whenever I try to add more GB's. Is there anyway to solve this?
  2. Offline


    You need to be running a 64-bit OS to allocate that much memory. The best you can do with a 32 bit OS is probably 1536m.
  3. Offline


    I do have a 64-bit. Is there anymore info I need to post?
  4. Offline


    Make sure your java is 64 bit as well.

    However, if I'm not mistaken, Windows 8 x86 is a 32-bit operating system. It should read Windows 8 x64 if it is a 64-bit operating system.
  5. Offline


    Click on My computer > Properties. It should say either x86 or x 64, or 32bit or 64bit. :p
    CrazyCoconut2 likes this.
  6. Offline


    Ohhhhhhhh. Okay, yea I looked at my information COMPLETELY wrong. Yea, lokpique, you're right. It's a 64-bit x64, my Program Files simply say x86. Misinterpreted.

    Yea, thaks for that helpful pointout. It works just fine now! :D

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

Share This Page