Java heap space error on a 16 gig ram server.

Discussion in 'Bukkit Help' started by Subcode, Oct 29, 2011.

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

    Subcode

    Hello,
    i run a minecraft server with 16gb of ram.
    however i am getting this error.

    i know this has to do with memory however the server runs on 16 gb of ram so how could it be out of memory with 10 players online.
     
  2. Offline

    RedComputer

    Check your bukkit settings! If again, start new folder of bukkit! Also open your computer and replace the RAM!
     
  3. Offline

    Rwembee

    What is the contents of your start script?
     
  4. Offline

    Subcode

    the ram is brand new.

    screen -h 5000 -d -m -S minecraft java -Xincgc -jar minecraft.jar -s 50 -c server.properties -P plugins nogui

    also just got this:
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  5. Offline

    Acrobot

    Do you often reload?
    If so - that's the cause.
    Also, you might want to include -Xmx15G in your start script, so it looks like that:
    screen -h 5000 -d -m -S minecraft java -Xincgc -Xmx15G -jar minecraft.jar -s 50 -c server.properties -P plugins nogui
     
  6. Offline

    nala3

    try that :) (yes I know i changed your post :3 )
     
  7. Offline

    Subcode

    we do not often reload, its like this now.
    i start the server, it runs half an hour or less and crashes with the errors i posted with only 5 people online.

    seems to have been fixed for now !
    will update if anything else happens.

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

Share This Page