#GC is causing server lag.

3 messages · Page 1 of 1 (latest)

copper trellis
#

my system has 64GB ram and allocated 24GB. I had the minimum to 15GB to max to 25 and I thought the lag spikes were caused by ram so i made the minimum to 24GB which didn't help.
And have tried putting these in the user_jvm_args which I think made it a little bit better but not fixed the issue
-XX:+UseG1GC
-XX:+ParallelRefProcEnabled
-XX:MaxGCPauseMillis=200
-XX:+UnlockExperimentalVMOptions
-XX:+DisableExplicitGC -XX:+AlwaysPreTouch
-XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40
-XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20
-XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15
-XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=5
-XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem
-XX:MaxTenuringThreshold=1

desert cairn
#

Don't go above 16gb. Anything higher just eats ram for no reason and you run into more and more mem leaks

copper trellis
#

Thanks, I will give that a try