Memory Usage

Discussion in 'Bukkit Discussion' started by Windows_i7_920, Mar 22, 2012.

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

    Windows_i7_920

    I have a command to check RAM usage of the server, and when I checked it, it was only around 400 mb with about 10 players online, and many worlds loaded, and countless plugins. Was there some recent overhaul or something? Seriously, because Bukkit seems to be running REALLY well now compared to in the past. I'm using the latest 1.2.4 dev build.
     
  2. Offline

    MikeA

    Heh, 40 players online, 5 worlds loaded, and 60 plugins and there goes 5 GB RAM.
     
  3. Offline

    Toxic__Waste

    running anywhere from 10 to 30 players 23 plugins and i always run into the 5 to 6 gb after 4 hours
     
  4. Offline

    sillyrosster

    Restarting every 2 hours works for me. Restarts only take 5 seconds.. Also, garbage collection does its job.

    Tip: /reload uses memory. I recommend not using it.
     
  5. Offline

    erdrickk

    ugh /reload is the worst server breaking command ever. I have no idea why bukkit has not removed it yet
     
  6. Offline

    sillyrosster

    Or recoded it..
     
  7. Offline

    TheBeast808

    It's not the /reload code, it's the fact that most/many/some plugin devs don't write their plugins to correctly shut down and start up on reload.
     
  8. Offline

    sillyrosster

    Afforess says both :p
     
  9. Offline

    KakusCraft

    YES THIS IS TRUE !

    25 players

    i got 5 worlds loaded :

    1. main world
    2. resource world
    3. old wolrd (1.1 world)
    4.Nether world
    5. The end

    Before 1.2.4 i usually have 768 mb FREE memory

    but today after updating to 1.2.4 it was only 800 mb used !

    with the exact same plugins before

    did bukkit just optimize their server ? kudos to bukkit :)

    after 3 hours its only bloated to 1 gb usage xD.. this is a nice improvement

    24.03 08:49:20 [Server] INFO World "sumberdaya": 2038chunks,391entities
    24.03 08:49:20 [Server] INFO World "newkakus": 650chunks,327entities
    24.03 08:49:20 [Server] INFO World "test1": 2487chunks,1209entities
    24.03 08:49:20 [Server] INFO World "world_the_end": 250chunks,78entities
    24.03 08:49:20 [Server] INFO Nether "world_nether": 23chunks,11entities
    24.03 08:49:20 [Server] INFO World "world": 1439chunks,631entities
    24.03 08:49:20 [Server] INFO Free memory: 2,058 MB
    24.03 08:49:20 [Server] INFO Allocated memory: 3,005 MB
    24.03 08:49:20 [Server] INFO Maximum memory: 3,005 MB

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

    TheBeast808

    Earlier today, my server had 47/75 players online after I advertised. We have three main worlds, and we're running a 1.2.4 dev build. I was using about 2GB of ram. This issue has to be one of your plugins.
     
  11. Offline

    Lolmewn

    Is good, no? :D
     
  12. Offline

    Justin Quach

    What plugin is that?
     
  13. Offline

    KakusCraft

    essentials...

    the command is /mem
     
  14. Offline

    Toxic__Waste

    i use this for my batch file

    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    :start
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xms6144M -jar craftbukkit.jar
    goto start

    and when i do the /stop it will auto restart

    also when i do /mem i get a totally different number then the taskman gives
     
Thread Status:
Not open for further replies.

Share This Page