Solved server ram problems

Discussion in 'Bukkit Help' started by danoljwz, Aug 29, 2013.

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

    danoljwz

    hi,
    when i want to allocate more ram to my server i type;

    java -Xmx1536m -Xms1000m -jar "craftbukkit.jar"
    PAUSE

    but it says;

    error occurred during initialization of VM
    could not reserve enough space for object heap

    what is wrong?

    btw
    windows 7 ultimate
    64-bit os
    8gb ram

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 4, 2016
  2. Offline

    Tanite


    What else is running on the PC (does it have that amount of memory free to spare, with enough left over for the OS)? Are you using 64-bit Java?
     
  3. Offline

    danoljwz

    at the moment minecraft, skype and steam are running
    i have 64-bit java
     
  4. Offline

    dainiusb

    Try to allocate less and see if it works. Try to go with -Xms512M and -Xmx1024M
    BTW, why is your -Xms1000M? It has to be -Xms1024M
     
  5. Offline

    danoljwz

    i fixed it.
    i used the line
    "C:\Program Files\Java\jre7\bin\java.exe" -Xms4096m -Xmx4096m -jar craftbukkit.jar -o true --log-limit 524288 --log-count 10 --log-strip-color
     
Thread Status:
Not open for further replies.

Share This Page