CPU / Memory Leak thing? (READ BELOW)
I run a server on pterodactyl in a docker container, 1.20.1, fabric. I got two issues and Idk if their related to each other.
1. For my pterodactyl instance i have the memory cap set to 12 gb of ram but for some reason its using almost 9, when i go into spark to check how much the minecraft server is using, its less than 2 gb.
2. For some weird ass reason, im getting MSPT spikes in my game, it'll be at 15-17 mspt then for no reason it just SPIKES to 35-37 MSPT for a few seconds before going back down. Yes i have multiple memory leak plugins. I think it only happens when im in populated areas with entities and chests but either way that shouldn't be happening. Weird thing is when these spikes happen, the memory usage stays the same but the CPU usage spikes.
I will send logs, spark reports, and my plugin directory. Please help.
15 Replies
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.

Here is the log that shows starting the mc server up
Here are some of the only errors i get on the server, not sure if they're affiliated
its not a huge usage right now but sometimes it'll be the container is using 7gb while the mc server itself is only using 2

If anyone needs anything else please lmk
"YOU HAVE 735 SILVERFISH" Mob switch, lazy chunks, didn't do anything even before this issue
I have a system in place to help diagnose these - I’ll get a fabric version of my tooling over tomorrow
@Dil
👍
Pterodactyl shows all memory allocated to container (Java heap), and spark shows usage inside of heap
Even so and as I’ve been told by multiple people, 7 gb usage inside a container only running mc at 2gb is alittle too much
I don't think so
What else would 7gb be used for?
Also it wasn’t like this a month ago
Have had the server up for 1 1/2 years
Almost it was 1-1.5 gb of extra ram being used
Not 7
your server is allocating 10 gb, only spark can see the actual usage of that allocation
panel can only show the allocation amount
This is an expired profiler
Your flags don’t contain always pre touch right?
Nope