Memory leak problems

Discussion in 'Bukkit Help' started by JohnTheRipper, Jul 9, 2011.

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


    Hey everyone!

    I recently started the OverDrive Gaming server (I'm one of three owners/founders, I take care of the server itself), and I've been having some major memory leaks.

    Server specifications and general information:

    Dedicated server rented from

    CPU: 2.66GHZ Core2Quad Q9400
    RAM: 8GB
    HDD: 500GB (7200RPM)
    Line: 100mbps, 3TB bandwidth
    OS: CentOS 5.6 64-bit
    Java Version: 1.6.0_20 (64 bit)

    Wrapper: Remote Toolkit (latest)
    Craftbukkit version: CB953

    Runtime arguments:
    java -Xms6G -Xmx6G -Djline.terminal=jline.UnsupportedTerminal -XX:ParallelGCThreads=4 -server -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -Xnoclassgc -XX:UseSSE=3 -XX:PermSize=128m -XX:LargePageSizeInBytes=4m -jar /servers/minecraft/craftbukkit.jar nogui
    Plugins: MagicCarpet, rTriggers, SignColours, WorldEdit, Towny, FalseBook (all modules except for the chat one), LWC, BorderGuard, iConomy, WorldGuard, Minequery, CommandBook (1.5.3 DEV version), Stargates, iAuction, HeroChat, Permissions (3.1.6), PluginControl (for PrivateWarp), HeadBlocks, VanishNoPickup, RemoteToolkitPlugin (for the wrapper), ChestShops (beta version), PrivateWarp, NoCheat, LogBlock.

    Errors: High RAM usage (explained in detail below).
    What have I tried so far: Adding the above command-line variables (which reduced RAM usage by more than 25%, but it's still high).

    Additional info: Map saved every 15 minutes, server automatically restarted every 6 hours to curb the memory leak, entire server backed up via a cron job every 12 hours.

    ----Problem Info----
    The server consumes RAM at a increasing rate. After a restart, and with around 10 or so players online, I see around 7% RAM usage (which is GREAT). However, it starts slowly going up, even after the player count levels out at less than 20, it still slowly increases upwards. Currently, roughly 3 hours from the last restart, it's consuming 45% RAM with only 6 players online (!).

    I am suspicious that there's some major memory leak somewhere, but so far I haven't figured out exactly what it is. The RAM usage troubles me since this server isn't supposed to consume this much RAM with 6 players online, 3 hours after a restart... So there's obviously a memory leak, and my question is how exactly I would go about finding it (and does anyone know if one of those plugins could be causing it).

    Thanks in advance!
  2. Get in the queue mate. Since 1.7 has been out we have all complained about it with no word from the bukkit team.

    Beyond a joke now.
  3. Offline


Thread Status:
Not open for further replies.

Share This Page