Solved ERROR: Could not reserve enough space for object heap!

Discussion in 'Bukkit Help' started by Plenge93, Mar 10, 2014.

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

    Plenge93

    Hey guys.

    I have been sitting in front of my computer all day trying to resolve this issue.

    I have read every forum post that i could find with people having the same issue, but somehow the fixes doesnt work for me. so now i hope you can help me.

    I am trying to dedicate more ram for my bukkit server.. i have 16GB on my computer and i am not allowed to go over 1GB on the start.bat file.

    I have tried a wide range of bat codes to start the server with, but no luck so far.. the recent one i have been using is:

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    java -Xincgc -Xmx2048M -jar craftbukkit.jar
    PAUSE

    im running a 64-bit system with java 7. Can someone help me?
     

    Attached Files:

  2. Offline

    Plenge93

  3. Offline

    Bobcat00

    Are you sure you're running 64-bit Java?
     
  4. Offline

    Plenge93

    Hmm.. i believe so, how can i check it?

    Arh.. ffs! i rechecked my java.. and somehow it got installed on my secondary harddrive.. so you were absolutely right.. god that was dumb!

    But thanks man xD haha!
     
  5. Offline

    Bobcat00

    With two different versions of Java, it's an easy mistake to make. I put the full path to Java so I know which one I'm running. e.g. (the quotes are required):
    "C:\Program Files\Java\jre7\bin\java.exe"
     
Thread Status:
Not open for further replies.

Share This Page