Can't add more RAM to my bukkit server

Discussion in 'Bukkit Discussion' started by ksonic322, Aug 22, 2014.

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

    ksonic322

    Okay I have been trying to add more (RAM) to my server but it wont seem to work. I know I have atleast 2GB to give to it on my computer I also have Java 64bit and a 64bit processer. and I get an error like this "Couldn't reserver enough soace for object heap" What do I do?

    ~Ksonic322

    I am also using this for my batch file for 1gb

    java -Xmx1024M -jar craftbukkit.jar -o true

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

    Tecno_Wizard

    ksonic322, I have been having the same problem since bukkit 1.7.10, and I have no idea what's causing it.
    On an unrelated note, is anyone else unable to sign into skype?
     
  3. Offline

    zachoooo

    That error means you don't have enough memory on your computer. Your options are to use less ram, buy and install more ram, or get your server hosted on a better machine
     
  4. Offline

    Tecno_Wizard

    zachoooo, I was allocating 2 gig on my friend's super computer which could easily handle 6. Without setting an allocation amount, it works. Seeing as default is about 700 MB, i don't see how this could be my fault.
     
  5. Offline

    DoingItWell

    Be sure to reboot once just to make sure problem doesn't go away. For example, a hidden application or service could have had reserved up a lot of RAM (by mistake, memory leak, or unusual situation) and making it not available to other apps. Also, would be good to check actual memory usage on the computer (I.e. if Windows, Task Manager).
     
  6. Offline

    Tecno_Wizard

    DoingItWell, That's exactly what I did, looked at available memory, saw that there was 7 GB available, and still I get errors.
     
  7. Offline

    zachoooo

    Make sure you're running on a 64-bit VM
     
  8. Offline

    Tecno_Wizard

    zachoooo, I am, it was one of the first things I checked.
     
  9. Offline

    DoingItWell

    Did you try unplugging and plugging it back in? Lol, I'm just kidding.

    Some things I might try if mystified:
    - Try a different version of craftbukkit .jar and see if same behavior.
    - Try a completely different Java .jar (pick something safe and random online unless you have something already) and see if still happens (eliminating craftbukkit from the picture)
     
  10. Offline

    ZanderMan9

    Try this instead:
    java -Xms1G -Xmx1G -jar craftbukkit.jar -o true
    That will give it a gig to start with. And if that fails,
    java -XX:MaxPermSize500M -Xms1G -Xmx1G -jar craftbukkit.jar -o true
     
Thread Status:
Not open for further replies.

Share This Page