diff --git a/modules/system/homelab/mc.nix b/modules/system/homelab/mc.nix index 5342df8..f320d31 100644 --- a/modules/system/homelab/mc.nix +++ b/modules/system/homelab/mc.nix @@ -121,8 +121,6 @@ in { "-XX:+PerfDisableSharedMem" # Disables constant /tmp writes for JVM metrics "-XX:ZAllocationSpikeTolerance=5" # Helps when server is active with many players "-XX:SoftMaxHeapSize=${toString (ram-allocation-mb - 2048)}M" # Leave 2GB headroom - "-XX:ZCollectionInterval=1" # Force a GC cycle at minimum every second - "-XX:ConcGCThreads=8" # Threads ZGC uses for concurrent work ]; in lib.concatStringsSep " " flags; }; };