Bump server heap to 8G for 10-player capacity

Matches the 9-12p sizing tier from HOSTING.md. Verified clean boot
(Done in 5.3s, no OOM) and checked actual headroom on the box
(~2.3GB container overhead, 14GB total) before applying.
This commit is contained in:
Mykhailo Ivanchenko
2026-10-23 18:02:15 +02:00
parent 13aa5c1af8
commit e37e8a08e0
+2 -2
View File
@@ -16,8 +16,8 @@ FORGE_BUILD="47.4.28" # current recommended build for 1.20.1 —
MC_PUBLIC_PORT=25565 # what players connect to (lazymc listens here) MC_PUBLIC_PORT=25565 # what players connect to (lazymc listens here)
MC_INTERNAL_PORT=25566 # real server listens here, lazymc proxies to it MC_INTERNAL_PORT=25566 # real server listens here, lazymc proxies to it
SLEEP_AFTER=300 # idle seconds before lazymc stops the real server (this lazymc build wants a plain integer, not "5m") SLEEP_AFTER=300 # idle seconds before lazymc stops the real server (this lazymc build wants a plain integer, not "5m")
MIN_RAM="2G" MIN_RAM="8G"
MAX_RAM="6G" # 5-8 players; see ../HOSTING.md sizing table — bump to 8G (9-12p) or 10-12G (13-15p) MAX_RAM="8G" # 9-12 players; see ../HOSTING.md sizing table. Xms=Xmx avoids GC resize pauses. Check `free -h` / `docker stats` before going higher — this box runs other services too.
# ------------------ # ------------------
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"