enable jstat
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 29s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 29s
This commit is contained in:
parent
3ac6b06f43
commit
c2924a2a58
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ in {
|
|||
"-XX:+UseLargePages" # Large pages support (requires hugepages configured on the system)
|
||||
"-XX:+AlwaysPreTouch" # Pre-allocates memory on startup, OS claims it immediately for JVM instead of negotiating it
|
||||
"-XX:+DisableExplicitGC" # Disables mods from manually invoking the GC
|
||||
"-XX:+PerfDisableSharedMem" # Disables constant /tmp writes for JVM metrics
|
||||
# "-XX:+PerfDisableSharedMem" # Disables constant /tmp writes for JVM metrics
|
||||
"-XX:ZAllocationSpikeTolerance=5" # Helps when server is active with many players (causes unnecessary GC load at idle)
|
||||
"-XX:SoftMaxHeapSize=${toString (ram-allocation-mb - 2048)}M" # Leave 2GB headroom for off-heap memory (native code, mods, and ZGC overhead)
|
||||
]; in lib.concatStringsSep " " flags;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue