RAM increase

Discussion in 'Bukkit Help' started by nspracklin, Aug 28, 2011.

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

    nspracklin

    Hello again, I have a 64-bit OS with Windows 7, now I heard to increase the ram, just take the 1024 and change it to 2048.. and so on.. I have 8 GB of ram, but just taking the RAM to 2048 yields in an error, I heard that you can only increase RAM on a 64-bit OS.. was curios.. am I doing something wrong with the code?

    @echo off
    "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    pause

    -Xmx2048M -Xms2048M Is what I type in to increase, not sure if this is right though.
     
  2. Offline

    Mapatti

    Im not sure if I got what you are asking but for 2GB it would be like
    Code:
    "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xmx2G -jar craftbukkit.jar
    pause
    And what error does it give?
     
  3. Offline

    nspracklin

    One sec, I'll change it back.. and post an error.

    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the java virtual machine.
    Press any key to continue . . .

    I get the same error when I try your code as well.

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

Share This Page