See individual plugin RAM usage

Discussion in 'Bukkit Help' started by ItsHarry, Oct 30, 2012.

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



    Is there any way to see the RAM usage of an individual plugin?
    Having a memory leak on my 32GB server and can't tell which plugin it is caused by.

  2. Offline


    Essentials has this function , But easiest way is to tell us what plugins you have XD
  3. Offline


    Here it is, don't think this will help though.

    What's the command for Essentials to do it?
    I only know of the /mem command which gives you total RAM usage, not individual plugin RAM usage.
  4. Offline


    I think that NoLagg has this feature.
  5. Offline


    NoLagg only outputs total RAM usage, not for individual plugins D:
  6. Offline


    I haven't seen any plugin/feature which gives you opportunity to see how much does only the one plugin uses ram. But if you wanna to see how much each plugin uses, take all plugins out and then test one by one every plugin.
    Like: Put first DisguiseCraft plugin in plugins folder, then restart the server and check how much ram does you have used in the server, then you will see how much the plugin uses ram, after it take DisguiseCraft plugin out of the plugins folder and put there another one and repeat it until you won't find the plugin which causes the lagg or something.
  7. Offline


    NoLagg Examine can output a file that shows individual plugin RAM usage.
  8. Offline


    Oh okay, didn't know that.
    I'll try and find it =)


    I tried NoLaggExamine but it seems like it only outputs time spent per plugin and not the RAM used.
    Is this true or am I skipping something here?

    Problem is the memory leak isn't always there, it only occurs every so often. D:
    Sometimes it will run fine for days, other times it eats up all the RAM crashing the server.

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

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    Use a profiler.
    GRPGamer likes this.
  10. Offline


    Okay thanks
  11. Offline


    I have the same issue. My 16 gigs of ram is getting eaten like mad, need help. Also whats a profiler? Please add me on skype so we can IM, : mrmime22
  12. Offline


    Haven't done anything with the profiling yet but I think YourKit would be appropiate for it.
  13. Offline


    Okay thanks. Any specific steps I need to follow to check my servers ram per plugin?

    [INFO] Plugins (52): HardcoreDeathBan, GroupManager, ColourMotd, VoidtoSpawn, BukkitCompat, FastSoup, FusionJoin, Buycraft, Vault, AntiRelog, RuleBook, Shopkeepers, DisguiseCraft, CraftBay, Permissions, AntiAdvertising, FancyText, godPowers, DrugMeUp, PluginSpy, Tracking-Plugin, Votifier, GAListener, Citizens, LagMeter, HideStream, BananaBackup, WorldEdit, NoCheatPlus, TagAPI, SimpleExtras, WorldGuard, boosCooldowns, mChatSuite, OPLock, LimitedCreative, BKCommonLib, ZavAutoMessager, Auto arm, MoneyDrop, Essentials, MobDisguisePVPControl, SilkSpawners, MagicSpells, My Worlds, EssentialsChat, MobArena, EssentialsProtect, EssentialsSpawn, NameTags, EssentialsAntiBuild, Factions

    My ram drains from 85% free, to 84%, to 83%, and so on every 1-2 seconds it goes down 1% of free ram. Then once it reaches like 43% free it boosts back up to like 80% free, then so on. Also my server has 100 online, with 500 entities. 16 gigs ram, xeon E3 CPU

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


    Well using the profiler you can check which classes use the most memory and using that you can tell which plugin is causing the memory leak. Look up some tutorials if you don't know how =)
  15. Offline


    whats a profiler and where can i find one?
  16. Offline


    Sorry for the late reply

    A profiler is an application which uses the JVM to output things such as RAM usage or CPU usage. A good one is VisualVM, I personally use YourKit.
Thread Status:
Not open for further replies.

Share This Page