Potentiall ram overflow, needing help
Heyho everybody. I have a Minecraft Forge 1.20.1 Modded server with a custom modpack. When exploring far distances with lots of newly generated chunks and then heading back to my home the server seems to be suffering a ram overflow and crashes.
I suspect badly optimized garbage collection to be the reason.
I am lacking both a tool for analyzing ram usage, as well as experience regarding these problems yet.
Could anybody help me progessing with this problem quicker? An easy/quickly to use tool for deep ram analysis is what i mostly need currently, since what ive found so far seemed to require some setup work in advance and to not have what i am looking for specifically.
5 Replies
!logs
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file.
Where can I find the server log?
Logs are stored in
<server_directory>/logs/
. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log
file. Some providers have a separate page for logs and may hide the "logs" folder.
On Aternos:
• Go to https://aternos.org/log/.
On Minehut and server.pro:
• Go to the "files" tab in the left menu.
• Navigate to the root directory of your server.
• From there navigate to /logs/latest.log
.
What should I do with the log?
• First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing.
• If you got the latest.log
file or created a .txt
file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/.
• If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)Admincraft Canned Responses
!spark
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
Admincraft Canned Responses
both of these would help more