Server out of memory after new world import

For context, I imported a new world onto my server with a Terralith datapack (a datapack that overhauls the worlds terrain), and now the server wont stay up for a minute before crashing.
No description
10 Replies
Admincraft Meta
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 bambizo#0
Bambizo
BambizoOP2y ago
For more info, I have a 5gb RAM and a R7 3700X processor for the server Im now using chuky to pre render the chunks, hope that fixes it
Zaid
Zaid2y ago
5gb ram total?
Bambizo
BambizoOP2y ago
yea
lugixion
lugixion2y ago
Why is -Xms so low? Just asking
Bambizo
BambizoOP2y ago
what should it be? maybe thats the problem?
lugixion
lugixion2y ago
Idk maybe try putting it on 5120M I've used terralith with 4 GB before and no problem
snowznz.bak
snowznz.bak2y ago
!oom
Carl-bot
Carl-bot2y 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
Bambizo
BambizoOP2y ago
Maybe also the fact that i have 30+ plugins hah

Did you find this page helpful?