Problem with start.bat

Discussion in 'Bukkit Help' started by Kei.-, Apr 11, 2011.

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

    Kei.-

    Hello! My comupter have 3.12GB RAM. Windows XP. 32 Bit. Hamachi
    When im changing max. ram use to 3GB in *.bat theres is error :
    Error occured during initialization of VM (or UM)
    Could not reserve enough space for object heap
    Could not create the Java cirtual machine machine
     
  2. Offline

    JDD

    You cannot go above 1.5G on 32bit java if I remember correctly.
     
  3. Offline

    DannyLAGZLOL

    "Could not reserve enough space for object heap"
    as in, could not get enough of this ram,
    What you put in your.bat is not what your computer has, so lower it
    put as:
    java -Xincgc -Xmx3G -jar craftbukkit.jar nogui

    or 2G if 3 dont work, im on 1G with my 3gig ram, because of java
     
  4. Offline

    Kei.-

    3G doesnt working 2GB too..
     
  5. Offline

    JDD

    Use 1.5 as I believe that is the maximum your allowed on a 32bit Java install
     
  6. Offline

    Kei.-

    When i changing on 1.5G it's says :
    Invalid maximum heap size : -Xmx1.5G
     
  7. Offline

    Godspeed

    use 1500M :)
     
  8. Offline

    abaldwin11

    I am having the same issue, but I have a 64 bit java. I have 64 bit windows 7, 8 g ram and I want to make it where my server can have a lot more than 1500. Which is what it is now. I believe I have both 32bit java and 64bit java installed would I need to change this:
    @ECHO OFF
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1500M -jar "%~dp0craftbukkit-0.0.1-snapshot.jar"
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xincgc -Xmx1500M -jar "%~dp0craftbukkit-0.0.1-snapshot.jar"
    PAUSE
     
  9. Offline

    JDD

    @abaldwin11 uninstall the 32bit java you don't need it if you have 64 bit installed and it will eventually lead to a conflict
    once you only have 64bit installed you can launch simply using java command without fear and set your -Xmx up to 4-6gigs if you'd like via -Xmx4G or -Xmx4096M
     
  10. Offline

    abaldwin11

    You're the man, that worked. I did have to remove the (x86) because it wasn't located in that folder. So now I have 3000 set, we'll see how she runs now. Thank you very much for your help.
     
Thread Status:
Not open for further replies.

Share This Page