Memory Leak Issue - someone is working on it currently

Status
This thread has been locked.

ChitterChatter

Owner of Explorer's Bay
Supreme
Feedback score
4
Posts
117
Reactions
36
Resources
0
Hi all, I am in need of some assistance/feedback.

I have a little dedi survival towny server that is having growing pains kinda.

We have been having some issues with a memory leak we suspect. I have had some help from others on here already with this issue, but we still stumped and working on it.

It's a long story, but just before the leak I had some other internal issues - I had to move hosts, get new admins, etc. We have done some cleaning out of some of our plugins, and continue to do so. We have disabled a lot and removed a lot. We determined it's not a hardware issue, our RAM only goes up and runs out during the spikes before the crashes.

I have quite a few plugins (I know a list is handy for determining causes) and I have been trying to read up on all their pages/discords to see if any of them have some issues.

This whole situation has already angered some of my long players and some of them have quit our server. Some people are quite upset about some plugins being removed (even though its not forever)

I am debating if I should get a temp server from a hosting site to copy our plugins over and try to find the troubled one. I thought about getting another dedi and doing that and then using it after for expanding for another gamemode, but at this point with issues I don't think I should sink more money into it until we resolve the troubles.

What is the best way to find memory leaks? any memory leak finding specialists out there?
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

ChitterChatter

Owner of Explorer's Bay
Supreme
Feedback score
4
Posts
117
Reactions
36
Resources
0
You'll need to take a heap dump and look over it.


We did do that, the top process was towny. It has been updated to the latest, with that being Towny 0.96.2.0 - maybe I will continue looking through that?

I was told by our system admin that the server load is fine, RAM usage is quite high, but this all comes back to the fact that plugins shouldn't be consuming this much RAM. He feels it's a memory leak and that I should have a dev look into.

My other admin has been looking into it and we have been removing plugins and going through all the data and configs.
 

Kiri

Deactivated
Feedback score
45
Posts
368
Reactions
275
Resources
0
We did do that, the top process was towny. It has been updated to the latest, with that being Towny 0.96.2.0 - maybe I will continue looking through that?

I was told by our system admin that the server load is fine, RAM usage is quite high, but this all comes back to the fact that plugins shouldn't be consuming this much RAM. He feels it's a memory leak and that I should have a dev look into.

My other admin has been looking into it and we have been removing plugins and going through all the data and configs.

If it actually is a memory leak, looking through the heap dump is your best bet at finding the cause. If you would like me to take a peek at potential other issues, feel free to send me your discord through a message.
 

CosmicGuard

Supreme
Feedback score
0
Posts
3
Reactions
5
Resources
0
Analyzing a heap dump is a fantastic suggestion for debugging this. Make sure you take the dump AFTER the memory leak has occurred, i.e. after a couple hours of uptime.

Additionally, you could use Java benchmarking software/suites to monitor your Java Heap growth in real-time, to see if there is any correlation between specifics in-game events running and your memory usage spiking.

Another helpful tool is to enable GC logging via Java runtime params, and to analyze the GC log on a website like gceasy.io
 
Status
This thread has been locked.
Top