We're experiencing sudden lag spike with unexplained RAM usage.
Hey everyone
We got some troubles. Our Forge server sometimes get super laggy for no reason and the RAM is suddenly overused though we didn't do anything crazy.
We noticed while checking the Spark Profiler that the RAM is pretty low (about 3-4gb used) then suddenly it goes up to 7.5 out of 8gb
I couldn't find any way to pinpoint what is using the RAM. How can I check which mod is using that much RAM ?
2 Replies
/spark profiler start --alloc
to start the profiler and profile memory allocations (memory pressure) instead of CPU usage.
from https://spark.lucko.me/docs/Command-Usage
go ahead and run a profiler started with that command
if you give me a regular profile and a profile started with --alloc
, I can tell you if it really is a ram/gc issuecheck entity count, someone on my server had 1500 chickens and we never knew that it was killing the server until a few months ago
it might be a mod problem, it might not