Are there any known major plugins with memory leaks?

Discussion in 'Bukkit Discussion' started by swift_fox24, Nov 6, 2011.

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

    swift_fox24

    When I start my server, it is hovering at around 700 MB out of 1GB free. As time progresses, even when I have no players on, it slowly goes down, jumping up slightly occassionally due to garbage collection, but it gets down to 185MB out of 1GB free, when there is no activity on the server, no players, even after I halt server intensive activity. Anyways, here are my plugins: are any of them known to have a memory leak? If not, how could I find it?


    WorldEdit, VoxelSniper, LagMeter, PermissionsEx, Lockette, SkylandsPlus, AutoHelp, Multiverse-Core, Help, Spout, iConomy, WorldGuard, AdminCmd, WorldBorder, ChestShop, Factions, CreativeGates
     
  2. Offline

    Rwembee

    It's probably just the way java does standard garbage collection. It waits until it is nearly full before activating. Adding -Xincgc instead of other garbage collection options could help you get a better picture.

    What is your start.bat contents?
     
  3. Offline

    swift_fox24

    Alright, to begin with I don't have access to start.bat with my host. I am fine with that as it's a company that I trust and is very transparent. I have full confidence that they are running it for the most optimized performance.


    Second, and this supports my previous statement, I have new information regarding this.

    When I first start the server, it hovers around 800/989 MB free. Then it slowly goes down to about 700/989 free, then jumps back up due to garbage collection. This continued for over 24 hours without anybody logging on, with evidence to back it up. Then, as soon as one person logged on, it changed the amount of memory free, and has not jumped back up, even once the player logged off, for over 2 hours.

    Show Spoiler


    2011-11-07 09:17:39 [FINEST] TPS: 20.0 Memory free: 685.0/989.0 Players: 0/20
    2011-11-07 09:22:39 [FINEST] TPS: 20.0 Memory free: 836.0/989.0 Players: 0/20
    2011-11-07 09:27:39 [FINEST] TPS: 20.0 Memory free: 713.0/989.0 Players: 0/20
    2011-11-07 09:32:39 [FINEST] TPS: 20.0 Memory free: 866.0/989.0 Players: 0/20
    2011-11-07 09:37:40 [FINEST] TPS: 20.0 Memory free: 743.0/989.0 Players: 0/20
    2011-11-07 09:42:40 [FINEST] TPS: 20.0 Memory free: 623.0/989.0 Players: 0/20
    2011-11-07 09:47:39 [FINEST] TPS: 20.0 Memory free: 776.0/989.0 Players: 0/20
    2011-11-07 09:48:54 [INFO] [cobble] logged in with entity id 385 at ([newworld] 233.05360599069212, 117.0, 159.3148693336696)
    2011-11-07 09:48:55 [INFO] New max size: 484
    2011-11-07 09:48:55 [INFO] New max size: 784
    2011-11-07 09:52:39 [FINEST] TPS: 20.0 Memory free: 809.0/989.0 Players: 1/20
    2011-11-07 09:57:09 [INFO] New max size: 1444
    2011-11-07 09:57:09 [INFO] New max size: 4096
    2011-11-07 09:57:09 [INFO] New max size: 4356
    2011-11-07 09:57:09 [INFO] Placed stronghold in INVALID biome at (-44, 51)
    2011-11-07 09:57:39 [FINEST] TPS: 20.0 Memory free: 789.0/989.0 Players: 1/20
    2011-11-07 10:01:53 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-11-07 10:01:57 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-11-07 10:02:00 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-11-07 10:02:04 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-11-07 10:02:07 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-11-07 10:02:10 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-11-07 10:02:14 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-11-07 10:02:59 [FINEST] TPS: 20.0 Memory free: 446.0/989.0 Players: 1/20
    2011-11-07 10:03:32 [INFO] [cobble] lost connection: disconnect.quitting
    2011-11-07 10:03:32 [INFO] Connection reset
    2011-11-07 10:07:59 [FINEST] TPS: 20.0 Memory free: 510.0/989.0 Players: 0/20
    2011-11-07 10:12:59 [FINEST] TPS: 20.0 Memory free: 570.0/989.0 Players: 0/20
    2011-11-07 10:17:59 [FINEST] TPS: 20.0 Memory free: 524.0/989.0 Players: 0/20
    2011-11-07 10:22:59 [FINEST] TPS: 20.0 Memory free: 488.0/989.0 Players: 0/20
    2011-11-07 10:27:59 [FINEST] TPS: 20.0 Memory free: 362.0/989.0 Players: 0/20
    2011-11-07 10:32:59 [FINEST] TPS: 20.0 Memory free: 513.0/989.0 Players: 0/20
    2011-11-07 10:37:59 [FINEST] TPS: 20.0 Memory free: 390.0/989.0 Players: 0/20
    2011-11-07 10:42:59 [FINEST] TPS: 20.0 Memory free: 540.0/989.0 Players: 0/20
    2011-11-07 10:47:59 [FINEST] TPS: 20.0 Memory free: 413.0/989.0 Players: 0/20
    2011-11-07 10:52:59 [FINEST] TPS: 20.0 Memory free: 567.0/989.0 Players: 0/20
    2011-11-07 10:57:59 [FINEST] TPS: 20.0 Memory free: 444.0/989.0 Players: 0/20
    2011-11-07 11:02:59 [FINEST] TPS: 20.0 Memory free: 591.0/989.0 Players: 0/20
    2011-11-07 11:07:59 [FINEST] TPS: 20.0 Memory free: 459.0/989.0 Players: 0/20
    2011-11-07 11:12:59 [FINEST] TPS: 20.0 Memory free: 606.0/989.0 Players: 0/20
    2011-11-07 11:17:59 [FINEST] TPS: 20.0 Memory free: 480.0/989.0 Players: 0/20
    2011-11-07 11:22:59 [FINEST] TPS: 20.0 Memory free: 357.0/989.0 Players: 0/20
    2011-11-07 11:27:59 [FINEST] TPS: 20.0 Memory free: 507.0/989.0 Players: 0/20
    2011-11-07 11:32:59 [FINEST] TPS: 20.0 Memory free: 386.0/989.0 Players: 0/20
    2011-11-07 11:37:59 [FINEST] TPS: 20.0 Memory free: 537.0/989.0 Players: 0/20
    2011-11-07 11:42:59 [FINEST] TPS: 20.0 Memory free: 410.0/989.0 Players: 0/20
    2011-11-07 11:47:59 [FINEST] TPS: 20.0 Memory free: 561.0/989.0 Players: 0/20
    2011-11-07 11:52:59 [FINEST] TPS: 20.0 Memory free: 438.0/989.0 Players: 0/20
    2011-11-07 11:57:59 [FINEST] TPS: 20.0 Memory free: 585.0/989.0 Players: 0/20
    2011-11-07 12:02:59 [FINEST] TPS: 20.0 Memory free: 459.0/989.0 Players: 0/20
    2011-11-07 12:07:59 [FINEST] TPS: 20.0 Memory free: 606.0/989.0 Players: 0/20
     
  4. Offline

    ZNickq

    essentials?
     
    Pr4w likes this.
  5. Offline

    swift_fox24

    Nope, I do have AdminCMD though. You can see my plugins in the OP
     
  6. Offline

    ZNickq

    pex is horrible, needs to go away!
    but it shouldn't be causing memory leaks, and tbh, none of your plugins seem to be that memory intensive :(
     
  7. Offline

    swift_fox24

    Why is PEX horrible? I'm looking for a good permissions plugin that should work with all other plugins and I can edit in game with easy to remember commands.

    Hmm, well it seems to be it decreases when players leave, cause when he was online it stayed higher up. Is there any more testing I could do to help narrow down the problem?
     
  8. Offline

    Rwembee

    Until you know that start line, it could be nothing at all.
     
  9. Offline

    jasvecht

    In my experience, Factions.
     
  10. Offline

    croxis

    All plugins should work with all permission manager as bukkit has an internal api for permissions. Plugins do not care which you use.
     
  11. Offline

    mindless728

    except if they tie into groups that the managers create, then they would have to hook into each one separately
     
Thread Status:
Not open for further replies.

Share This Page