Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

how do i find the cause of my memory leaks in my bukkit server?

  • Please log in to reply
9 replies to this topic



Posted 26 August 2013 - 10:19 PM

I've had this pesky memory leak for a while now just never got to fixing it lol. But after a while i finally decided to try and find the cause. So i started my server and thought "okay time to find this memory leak by... wait wat?" Then i noticed i have no idea how to find it. all i know is that its caused by a plugin. can someone help please?

Register or log in to remove.



    The Grim Reaperator

  • Sectional Moderator
  • 3457 posts
  • Location: Michigan
  • Minecraft: StealthBravo

Posted 26 August 2013 - 10:34 PM

Check your server log. Plugins that are outdated or broken will often spam the console with errors, so it's a good indicator that something is wrong.



Posted 26 August 2013 - 10:47 PM

lol yeah that's a obvious one to check, i'm not that much of a amateur i have common sense :D (not trying to be mean or anything just saying ;D) i would try and remove 1 by 1 plugin but that would take forever cause you see the ram spike after about 1 or 2 hours and i have 41 plugins so i don't have that \kind of time with school and stuff. I just made this post to try and find a easier way to do such.



Posted 26 August 2013 - 11:33 PM




Posted 26 August 2013 - 11:34 PM

Welcome to the wonderful world of running a server.  Sometimes, it requires a bit of work and effort. ^-^  (not trying to be mean or anything, just saying lol)

You don't have to remove plugins one by one, you can do a group of 'em at a time.  Take off 5 or 10 at a time, and see if your problem is from the group of those... or take half off.  If all runs fine, you know it isn't from the first 20 plugins you removed, and they are all fine.  I know SpigotMC allows you to see timings on your server, but Bukkit, to my knowledge, does not, unless there is a plugin which does so...

Good luck!



Posted 27 August 2013 - 12:35 AM

um i have the timings down but what do they do lol

Here are my timings http://pastebin.com/Ce9wLSdk



Posted 27 August 2013 - 12:45 AM

Typically, when your server is lagging pretty badly, when you run one of those, it's going to show you how long plugins are taking to complete their execution.  If your lag is being caused by a plugin, you will see one listed there with a lot of time tacked onto it.



Posted 27 August 2013 - 01:26 AM

okay thanks you


  • Location: Wisconsin, US
  • Minecraft: themosey

Posted 27 August 2013 - 08:40 PM

How much ram are you rocking? Another world (or 3) are server hogs. Remember each world is likely another world of chunks in RAM at any time, plus Nether if you allow it in the extra worlds.

on top of that, Heros can be a constant ram slammer (like MCMMO)
MCScouts - Family Friendly Minecraft server [Factions] [Non PVP city] [Hunger Games] [More games]  play.mcscouts.com



Posted 28 August 2013 - 01:06 AM

i have about 4 worlds... is that alot?