Possible memory leak.

Hello. I have a problem with my server having its RAM usage slowly increasing until it crashes. It might be because of plugins like ImageFrame but I'm not too sure. Here is the spark profiler link: https://spark.lucko.me/8FDxHgSNVn
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
16 Replies
Admincraft Meta
Admincraft Meta17mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by gagahdragon#0
Admincraft Meta
Admincraft Meta17mo ago
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
✅ Your server isn't lagging
Your server is running fine with an average TPS of 20.
Requested by gagahdragon#0 • Page 1 of 4
ProGamingDk
ProGamingDk17mo ago
!oom
Carl-bot
Carl-bot17mo ago
My server is using too much memory
My panel says my memory usage is high all the time. Your server runs in the Java Virtual Machine (JVM), which has significant overhead & tries to effectively use ALL of the memory assigned to it. Memory usage from "htop", Task Manager, or your server panel is the total consumption of the JVM, not just your server. My server is lagging & I think it's memory related. It's much more likely that you are bottlenecked by your CPU, disk, or some inefficient mod/plugin. Rule of thumb, servers should have anywhere from 4GB to 12GB of memory, with 8GB being the 'sweet spot'. If you're heavily modded, add 4GB to that. Too much memory can be a bad thing. Don't exceed these caps unless you really know why you're doing it. Troubleshoot your server the right way: use Spark & send us a report. My server is randomly terminated unexpectedly. Setting your server to use 8GB does not mean that Java won't exceed this amount. As a rule of thumb, allow your system/container about 1-2GB (possibly more) overhead outside of the server. If you're on Linux & can SSH into the system, check your kernel logs. They will report any incidents of OOM. I want to use swap to allocate more memory. Don't. Swap is not free memory and using it can negatively impact performance.
Admincraft Canned Responses
ProGamingDk
ProGamingDk17mo ago
Most likely isn't a memory leak
gagah_dragon
gagah_dragonOP17mo ago
i will update the thread if the server crashes. we used 3gb before and it crashed, and now we upgraded to 4gb and still testing it out
gagah_dragon
gagah_dragonOP17mo ago
ok, i got a snippet of the crash
Admincraft Meta
Admincraft Meta17mo ago
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
Requested by gagahdragon#0
ProGamingDk
ProGamingDk17mo ago
Treasure maps are the cause Easiest fix is just disable them in papers config
gagah_dragon
gagah_dragonOP17mo ago
vanilla treasure maps? i do install a datapack that adds structures with their own treasure maps, and i also installed imageframe plugin but i have disabled those and it still crashes
ProGamingDk
ProGamingDk17mo ago
Treasure maps in general
gagah_dragon
gagah_dragonOP17mo ago
ah i'll update the thread in a few hours to see
Discount Milk
Discount Milk17mo ago
The server is running in offline mode.
yikes
ProGamingDk
ProGamingDk17mo ago
didnt even see that lmao
gagah_dragon
gagah_dragonOP17mo ago
so, been running the server in a while, and other than full memory usage which is a non-issue apparently, the server seems to run fine now with disabled treasure maps i think i can close this thread now, thanks !solved
Admincraft Meta
Admincraft Meta17mo ago
post closed!
The post/thread has been closed!
Requested by gagahdragon#0

Did you find this page helpful?