RAM runs out and everyone gets kicked, but RAM doesnt go down, requires restart

There were 5 people online. No 12 chunks view distance. How to fix? This happens often
No description
20 Replies
Snow Kit
Snow Kit4d ago
is there a crash log stored in the crash reports folder? Are there any logs in the console when this happens?
DUzzL
DUzzLOP4d ago
The thing is, it doesnt crash! I have to restart it.
Snow Kit
Snow Kit4d ago
is there anything logged in the console?
DUzzL
DUzzLOP4d ago
no nothing it only gave out a warning about high mspt
Snow Kit
Snow Kit4d ago
so, just for reference, the ram shown in the panel doesn't equal the ram in use by the server, to check current ram use, you can do something like /spark health
DUzzL
DUzzLOP4d ago
it doesnt know that command
Snow Kit
Snow Kit4d ago
!spark
Carl-bot
Carl-bot4d ago
Spark Profiler
Spark can be used to see why your server or client is lagging. Users can share a spark report via /spark profiler start --timeout 300 which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support. Download | Website | Docs
From An unknown user
Admincraft Canned Responses
Snow Kit
Snow Kit4d ago
(you don't have to worry about the profiler part of that message)
Skullians
Skullians4d ago
a spark profiler might be useful If something is locking the main thread
DUzzL
DUzzLOP4d ago
Spark says server is using 2gb ram, pebble says its 5.25gb
Skullians
Skullians4d ago
Follow this command in here please
DUzzL
DUzzLOP4d ago
I already started to run it in the backround
DUzzL
DUzzLOP4d ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Skullians
Skullians4d ago
Async appears to be causing you some issues Try remove it
Snow Kit
Snow Kit4d ago
nah, that's just moving all mob ticks to async
Skullians
Skullians4d ago
mmmm I assume this is while the server is fine? seeing as there are players online
Snow Kit
Snow Kit4d ago
but the mod does state
Async is currently in alpha testing and is experimental. Its use may lead to incorrect entity behavior and crashes.
Skullians
Skullians4d ago
yeah exactly are you able to run commands when everybody is kicked? If so, wait until it happens and make a new profiler and send it here
DUzzL
DUzzLOP4d ago
Ok

Did you find this page helpful?