Extremely High RAM Usage (16GB, 99%!)

Discussion in 'Bukkit Help' started by TheFluffey, Oct 6, 2012.

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

    TheFluffey

    Hello all.

    I currently am running an Incero Xeon E3 1230 with 16gb of RAM, an intel 120 gb SSD, and a 1gb port at 30TB bandwidth. I am running the server with 13 different worlds, because it is a hunger games server. I am using the latest Craftbukkit recommended build. I have tried to rule out a plugin that could be causing the issue I am having.

    Here is the issue I am having:

    Steadily, over time, my server reaches a full 16gb of ram usage. I think this is a memory leak, even with 13 separate worlds, as 16gb of RAM is ridiculous with 80 players online. The processor maintains a 10-30% usage the whole time. So I installed PTweaks to try to prune unused chunks. Nothing. Here is a screenshot of this ridiculous usage: http://puu.sh/1bZMZ . This is about 1 hour after restarting, and RAM usage has already climbed up to 60%.

    I have tried everything, from pruning all plugins down to big name plugins. The server starts up with 5gb of RAM! That is insane. Here is a list of my plugins:

    http://puu.sh/1bZPc

    Any help or advice you could provide would be greatly appreciated. I am so done with this that I am about to switch over to another Hunger Games plugin and have one game running on the server at once so only chunks from one world will be loaded at a time, and when maps switch the chunks will be unloaded.

    Edit: JVM Results:

    Memory Profiler:
    http://puu.sh/1c25C

    Memory Sampler:
    http://puu.sh/1c27b

    Overview:
    http://puu.sh/1c27z
     
  2. Offline

    Darkvoltage3

    How many plugins do you have?
     
  3. Offline

    TheFluffey

    There is a list right there, it is around 13... I can post my JVM results too.
     
  4. Offline

    Darkvoltage3

    Sorry I didnt spot the list and yes the JVM would help.
     
  5. Offline

    TheFluffey

    Just added it, need anything specific just ask
     
  6. Offline

    Darkvoltage3

    Ok i've noticed you dont have worldborder, as minecraft generatates more and more chunks it is saved to the world file and the server has to load all of that on top of that the further your players are from each other the more ram and cpu power it takes to process this includes chating from far distances, pvping, etc also is your server dedicated?
     
  7. Offline

    TheFluffey

    As stated I have a dedicated Xeon E3 1230 with 16 gigs of ram and an Intel 120 gb SSD. The problem is that I am running a 13 world HUNGER GAMES server, so I need all of those chunks to be loaded... Is that the issue?
     
  8. Offline

    Darkvoltage3

    Sorry tbh im not a reader im just skim through, but anyways that is a yes 13 worlds in one server is just way to much, now what I can tell you is you can limit where players can go in the world with worldborder other than that I would trash 12 of your worlds leaving one.
     
  9. Offline

    TnT

    Post your startup command.
     
  10. Offline

    TheFluffey

    It is impossible to import all of the arenas into one world, I tried but MCEdit crashes because it is literally trying to export billions of blocks.

    TNT for my dedicated I don't choose my startup command and for this test I am just running VisualVM for my startup for that test. (My dedicated has both SSH, FTP, and Spacebukkit. I just use spacebukkit for simplicity)

    CD /D "%BINDIR%"
    @java -Dcom.sun.management.jmxremote -jar craftbukkit-1.3.2-R1.0.jar

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  11. Offline

    TnT

    Honestly, I don't see an actual problem. Java will use up the RAM it needs to use. None of your screenshots show your server running out of RAM.

    You can even see on this screenshot that your GC is performing correctly: http://puu.sh/1c27z

    Are you seeing crashes or any problems?
     
  12. Offline

    Darkvoltage3

    He has 13 worlds tbh Idk if minecraft can handle that if its at a ram limit.
     
  13. Offline

    TheFluffey

    I fill up to 100% of 16gb in about 3 hours straight of running the server.
     
  14. Offline

    TnT

    Sure it can. You can put in 13 worlds if you want, you just need enough RAM to handle it. 16 GB should be enough.

    Besides, I don't see it actually using all 16GB of RAM.

    http://puu.sh/1bZMZ

    This screenshot shows you using ~3GB of RAM.

    Not sure what you are looking at, but I'm not seeing what you are seeing.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  15. Offline

    TheFluffey

    Oh shit, is the Java part the right ram to look at? I was looking at the top one and literally freaking out because that always gets to 100%... So everything is fine?
     
  16. Offline

    Darkvoltage3

    I dont either and also the 13 worlds thing sure he has 16gb ram but as the normal player walks around and founds new chunks it is saved into the world file so in retrospect the server builds and builds on ram because it has to constantly load these chunks....you can stop this with worldborder and that may just solve the problem.

    -.- lol

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  17. Offline

    TheFluffey

    What is the difference between the ram at the top and the 'java' ram? The ram at the top always gets to 100%.
     
  18. Offline

    TnT

    Yes, although I would caution you against using 16GB RAM if your server only has 16GB RAM in total. Use at max 12GB for Java if you only have 16GB in total. You should be leaving some room for your OS/other programs.
     
  19. Offline

    TheFluffey

    How can I allocate that? (Sorry, very new to dedicated servers, especially ones which I am using a control panel for also).

    Edit: Facepalming so hard right now. I had no lag the whole time, it just frightened me to see the top part at 100%... What does that indicate?
     
  20. Offline

    TnT

    I don't use SpaceBukkit. I would assume there is a setting in there somewhere.

    In the command line, it is simply modifying your -Xmx value to be -Xmx12G.
     
Thread Status:
Not open for further replies.

Share This Page