Rat
AAdmincraft
•Created by Rat on 3/24/2025 in #questions
Need help optimizing/bug fixing 1.20.1 Forge Server
Hello all, I started running a forge server (custom modpack) for some friends around two weeks ago and throughout it's lifetime we've had to deal with semi-frequent crashes due to I assume memory issues, I'd like to ask for help debugging this so we can either eliminate it or lessen it.
We're using Forge 1.20.1
Server is hosted using a server provider called Nodecraft
java version: eclipse-temurin:17-jdk
Xms - 5000 (did have this at 1000 earlier but saw suggestions on reddit to have them be the same ammount)
Xmx - 5000
Java Garbage Collector: g1gc
Java Flags: -XX:+UseG1GC -Dsun.rmi.dgc.server.gcinterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
We think it may be something to do with world gen as loading new chunks ups memory usage a ton and then peaks at 100%, once at 100% it's only a matter of time before it crashes but I'm unsure which mod specifically is causing issues.
There is only around 1-6 of us online at one time usually.
Help is very much appreciated.
13 replies