Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
AdmincraftA
Admincraftβ€’15mo agoβ€’
51 replies
𝔛𝔦 𝔍𝔯𝔦𝔭𝔭𝔦𝔫𝔀

Pterodactyl server ignoring garbage collection (memory leak?)

I started up a paper server using pterodactyl for the first time. Until now I've self-hosted and never had an issue with memory (admittedly because I allocated like 64GB). Everything is great so far, but it just refuses to do garbage collection. This just makes the RAM slowly fill up until the server eventually crashes. The server has 4GB of RAM to work with.

Here's what I've tried so far:

-allocating less ram than I have available. This kind of works, but setting the allocated ram or max ram percentage just makes it crash earlier.

-garbage collection JVM flags. Completely ignored for some reason

-restarting the server every 6 hours. This works but the server will crash well before it can restart. Also it's not at all ideal.

-leturmemoryrest plugin. Straight up doesn't do anything from what I've noticed. The manual clean does nothing.

Any ideas?
AdmincraftJoin
10,704Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Garbage collection
AdmincraftAAdmincraft / questions
11mo ago
server memory leak
AdmincraftAAdmincraft / questions
2y ago
Bedrock Dedicated Server Memory Leak
AdmincraftAAdmincraft / questions
3y ago
Memory leak
AdmincraftAAdmincraft / questions
2y ago