Recent Discussions

Pterodactyl keeps stopping my server, OOM = True. Need help to tune gc

Unanswered
Brown bear posted this in #questions
Messages12 messages
Views0 views
Brown bearOP
Flags:

java -Xms128M -XX:MaxRAMPercentage=85.0 -XX:+UseG1GC -XX:MaxGCPauseMillis=130 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5.0 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:G1ConcRSHotCardLimit=16 -XX:AllocatePrefetchStyle=3 -Dterminal.jline=false -Dterminal.ansi=true $( [[ ! -f unix_args.txt ]] && printf %s "-jar server.jar" || printf %s "@unix_args.txt" )


Heavily modded forge 1.20.1 server running Steampunk modpack... Instance has 12 gb ram, xmx is a t 10,2 and there are many optimization mods. I honestly do not know what to do. Should I just use default akair flags and hope it works?
@Connecticut Warbler wouldnt do 85%
Brown bearOP
Even if it's at 12 gb ram?
@Brown bear Even if it's at 12 gb ram?
Connecticut Warbler
1.8 on a modpack isnt always enough overhead
for java, native mem leaks, os overhead
Brown bearOP
Okay, I will try then, I really hope it works
@Connecticut Warbler 1.8 on a modpack isnt always enough overhead
Brown bearOP
Should I change the g1gc to zgc?
@Brown bear Should I change the g1gc to zgc?
Connecticut Warbler
No.
it uses more ram and cpu
Brown bearOP
ah I see
Brown bearOP
That fixed it btw
Loading...