Solved Can't make my RAM Size to 3gb (3072)

Discussion in 'Bukkit Help' started by DoomHunter, Jun 19, 2014.

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

    DoomHunter

    Hi,
    because my pc has 4gb RAM, and my server was a bit laggy cuz of much plugins I decided to increase my server RAM size to 3gb, and I get this error!
    Please help as soon as possible! :)
    Code:
    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.
     
  2. Offline

    Gamecube762

    Make sure your computer has that much available space and that you are using 64Bit Java.
     
  3. Offline

    Surfdudeboy

  4. Offline

    DoomHunter

    I installed java 64 bit and it didn't fix anything! HELP!!
     
  5. Offline

    Bobcat00

    What operating system are you using? What version of Java did you install?
     
  6. Offline

    Surfdudeboy

    DoomHunter have you ensured that you are running Bukkit with 64bit java? This will not happen automatically.
    Add -d64 to your run.bat file

    for instance mine looks like
    Code:
    java -Xmx1024M -jar craftbukkit-1.7.2-R0.3.jar -d64 -o true
    PAUSE
    Also make sure that you have 3 gigs of memory free before you run your sever. This is the most likely cause of your issue, now that I think about it.
     
  7. Offline

    DoomHunter

    I use windows 7 64 bit, and I installed java 64 bit for windows...


    Alright so I fixed it by myself, this is what the problem was :
    Code:
     Error: Unable to access jarfile craftbukkit-1.7.2-R0.3.jar 
    So I just renamed the craftbukkit jar file just like that and it worked :)
    Moderators or whatever can close this! Thanks to all!!
     
  8. Offline

    Surfdudeboy

    DoomHunter Good to hear. You can mark this thread as solved using the 'Thread options' link at the top of your thread
     
  9. Offline

    DoomHunter

Thread Status:
Not open for further replies.

Share This Page