Hello. I have some memory problem with my server. I start 1.8.1 test server for prepare new map, beta tests etc. When 1 online, free memory go down drastically. Code: 2011-09-27 20:59:44 [INFO] [37m[[32m####################[37m[37m] 20.0 TPS[0m 2011-09-27 20:59:44 [INFO] [37m[[32m###############[37m_____[37m] 1483.0MB/2048.0MB (72%) free[0m 2011-09-27 21:00:02 [INFO] [37m[[32m####################[37m[37m] 20.0 TPS[0m 2011-09-27 21:00:02 [INFO] [37m[[32m###############[37m_____[37m] 1435.0MB/2048.0MB (70%) free[0m 2011-09-27 21:00:18 [INFO] [37m[[32m####################[37m[37m] 20.0 TPS[0m 2011-09-27 21:00:18 [INFO] [37m[[32m#############[37m_______[37m] 1277.0MB/2048.0MB (62%) free[0m 2011-09-27 21:00:23 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? 2011-09-27 21:00:32 [INFO] [37m[[32m###################[37m_[37m] 19.0 TPS[0m 2011-09-27 21:00:32 [INFO] [37m[[33m###########[37m_________[37m] 1102.0MB/2048.0MB (53%) free[0m 2011-09-27 21:00:33 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? 2011-09-27 21:00:35 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? 2011-09-27 21:00:36 [INFO] [37m[[33m##################[37m__[37m] 17.8 TPS[0m 2011-09-27 21:00:36 [INFO] [37m[[33m##########[37m__________[37m] 1024.0MB/2048.0MB (50%) free[0m 2011-09-27 21:00:48 [INFO] [37m[[33m##################[37m__[37m] 17.8 TPS[0m 2011-09-27 21:00:48 [INFO] [37m[[31m#######[37m_____________[37m] 681.0MB/2048.0MB (33%) free[0m 2011-09-27 21:00:55 [INFO] [37m[[33m##################[37m__[37m] 17.8 TPS[0m 2011-09-27 21:00:55 [INFO] [37m[[31m######[37m______________[37m] 550.0MB/2048.0MB (26%) free[0m 2011-09-27 21:01:10 [INFO] [37m[[32m####################[37m[37m] 20.0 TPS[0m 2011-09-27 21:01:10 [INFO] [37m[[31m####[37m________________[37m] 339.0MB/2048.0MB (16%) free[0m 2011-09-27 21:01:25 [INFO] [37m[[32m####################[37m[37m] 20.0 TPS[0m 2011-09-27 21:01:25 [INFO] [37m[[31m##[37m__________________[37m] 131.0MB/2048.0MB (6%) free[0m My Plugins: Code: LightVote : 1.72 AutoMessage : 1.5 xAuth : 2.0b4.1 ChopTree : 1.24 LagMeter : 0.5 Essentials : 2.6.1 OKReload : 1.1.0 MagicCarpet : 1.5.6 DeathOnVoid : 1.5 Spout : 1.0.6.381 KiwiAdmin : 2.2 noEnderman : 0.1 Beta NoLagg : 1.16 Multiverse-Core : 2.0-b265 RawcriticsOreObfuscationPluginSpout: 1.6.4.4 WorldGuard : 5.2.3-SNAPSHOT HeroChat : 4.10.3 EssentialsSpawn : 2.6.1 EssentialsGeoIP : 2.5.7 PermissionsEx : 1.14 VanishNoPacket : 1.6.1 LibertasLoader : 1.2.1 iConomy : 6.0.5b CreeperHeal : 3.1 Permissions : 2.7.7 BookWorm : 1.6.1 NoCheat : 2.07 WorldEdit : 312-2f19edc RemoteToolkitPlugin : 0.45b Modifyworld : 1.14 dynmap : 0.22.1 HawkEye : 1.0.5 LWC : 3.52 ChestShop : 3.2 Towny : 0.76.1.0 and Craftbukkit: Code: git-Bukkit-0.0.0-1071-ge688f0d-b1190jnks (MC: 1.8.1) And Java: Code: Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode) And Hardware: Code: On my Signature ;p Any ideas what can do this? //Edit: I forget. My launch params: Code: screen -dmS update ionice -c1 -n0 nice -n -10 /usr/lib/jvm/java-7-oracle/bin/java -Djava.library.path\=/usr/lib/jvm/java-7-oracle/lib/amd64 -d64 -server -XX\:+UseG1GC -Xms1G -Xmx2G -DJINTEGRA_NATIVE_MODE -DJINTEGRA_COINIT_VALUE\=0 -Dsun.io.useCanonCaches\=false -Djline.terminal\=jline.UnsupportedTerminal -XX\:ThreadPriorityPolicy\=42 -XX\:CompileThreshold\=1500 -XX\:+TieredCompilation -XX\:ParallelGCThreads\=3 -XX\:TargetSurvivorRatio\=90 -XX\:MaxTenuringThreshold\=15 -XX\:+UnlockExperimentalVMOptions -XX\:+UseAdaptiveGCBoundary -XX\:PermSize\=64M -XX\:MaxPermSize\=256M -XX\:+UseGCOverheadLimit -XX\:+UseBiasedLocking -Xnoclassgc -Xverify\:none -XX\:UseSSE\=3 -XX\:+UseThreadPriorities -Djava.net.preferIPv4Stack\=true -XX\:+UseLargePages -XX\:+UseStringCache -XX\:+OptimizeStringConcat -XX\:+UseFastAccessorMethods -Xrs -XX\:+UseCompressedOops -XX\:+AggressiveOpts -verbose:GC -Xloggc:gc.log -cp CraftBukkit -jar CraftBukkit.jar
VanishNoPacket has memory leak. I had this plugin too and memory just increase. When I remove this plugin memory is stable.
I can confirm it what he said, I have 24h graphs of my server's memory usage with and without VanishNoPacket enabled, and VanishNoPacket does cause it to just keep going up. I didn't save screenshots of the graphs because it was a personal test to see what was causing it, but I can redo the experiment and send you the graphs if you need them. To be fair, I also tried it with VanishNoPickup and it had a memory leak as well.
Makes little sense for VanishNoPickup to have a memory leak, from how minimalist it is in handling data. That's... special. I'll look into memory stuffs in VanishNoPacket this week or next.