diff --git a/services/game-servers.nix b/services/game-servers.nix index 639921e..654e1d6 100644 --- a/services/game-servers.nix +++ b/services/game-servers.nix @@ -10,7 +10,6 @@ environment = { SERVER_NAME = "Nordhammer.it Hytale Server"; MAX_PLAYERS = "50"; - MEMORY = "8G"; # Increased from 4G to 8G ENABLE_BACKUP = "true"; BACKUP_FREQUENCY = "30"; PASSWORD = "DukeSmells"; @@ -20,6 +19,8 @@ ]; extraOptions = [ "--stop-timeout=30" + "--memory=16g" # Docker memory limit + "--memory-swap=16g" # Prevent swap usage ]; }; };