Recent Discussions
Server optimization with mods, what do i do?
Unanswered
West African Lion posted this in #questions
22 messages
0 views
West African LionOP
I have a minecraft server with 40 mods, which is not much, but i assigned 9GB of RAM to my the server on my Pelican Panel, and limited the ram on the JVM arguments to 82%, the problem is that the server continues to go up, and up, and up, reaching the point that the panel kills the server, the world is also, pregenerated, what i can do?
heres a photo with all my mods
heres a photo with all my mods
FMpVSZ9eCU.png
West African LionOP
i dont know if it is necessary to mention, but im using NeoForge
java -Xms1024m -XX:MaxRAMPercentage=82.0 -XX:+UseZGC -XX:+ZGenerational -Dterminal.jline=false -Dterminal.ansi=true -Dsun.rmi.dgc.server.gcInterval=600000 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32 @libraries/net/neoforged/neoforge/21.1.213/unix_args.txtthose are my JVM arguments
All that and im using Graalvm openjdk 24
when i turn on the server, it says that the -XX:+ZGenerational is disabled on this GraalVM 24 version
@West African Lion I have a minecraft server with 40 mods, which is not much, but i assigned 9GB of RAM to my the server on my Pelican Panel, and limited the ram on the JVM arguments to 82%, the problem is that the server continues to go up, and up, and up, reaching the point that the panel kills the server, the world is also, pregenerated, what i can do?
heres a photo with all my mods
heres a photo with all my mods
disable oom, and don't use zgc when you have so little ram available
zgc is used when you have over 16gb available
@Tamz disable oom, and don't use zgc when you have so little ram available
West African LionOP
image.png
the ram reaches almost 10GB when the server is killed
@Tamz zgc is used when you have over 16gb available
^ zgc is the reason it dies
if you use g1gc it'll be fine
@Tamz ^ zgc is the reason it dies
West African LionOP
Oh
so, i replace the ZGC and Zgen with G1GC
West African LionOP
Oh okey, i didnt know that
id personally only use it if I had more then 32gb to use since its just memory intensive to use
West African LionOP
i heard that it was better, and i replaced it lmao
Ok, ill try and ill tell if something happens
make sure to read the specifications of what you try to use since it should have been somewhere
Loading...
Loading...