Skip to main content
READY CHUNKGC BENCH // ATM10 NEOFORGE 1.21.1 (450+ MODS) BASELINE: 2026-10-05 | TARGET: SPARK MSPT <50MS (20 TPS) | JAVA 21 ZGC
MCATM10RAM
MCATM10RAM Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
ATM10 Errors // ChunkGC Bench

Docker Exit Code 137: cgroup OOM Killer on Off-Heap Spikes

Exit Code 137 (128 + SIGKILL 9) leaves zero Java crash-report file because the Linux kernel OOM killer terminates the entire JVM process when RSS hits mem_limit.

Measured ATM10 JVM & Spark Profile

Operators frequently set -Xmx16G inside a 16 GB Docker or Game Panel container. Because ATM10 NeoForge consumes +2.4 to 4.2 GB in Metaspace, ZGC colored pointers/mappings, Netty DirectBuffers, and OS page cache, total RSS crosses 16 GB and triggers instant SIGKILL.

Subsystem / SignalMeasured TargetOperational Impact
16 GB Container (-Xmx14G)CRASH (Exit 137)Total RSS hits ~17.1 GB during chunkgen
16 GB Container (-Xmx12G)SAFE (14.8 GB RSS)Leaves 1.2 GB headroom inside 16 GB
32 GB Container (-Xmx26G)SAFE (29.8 GB RSS)Leaves 2.2 GB headroom + 4 GB off-heap

Step-by-Step Triage & Config Remediation

  1. Inspect kernel OOM log: Check dmesg -T | grep -i oom or docker inspect <id> State.OOMKilled to confirm Exit 137.
  2. Lower -Xmx by 3 to 4 GB: Subtract at least 3.2-4.2 GB from host/container RAM before setting INIT_MEMORY and MAX_MEMORY.
  3. Disable host swap thrashing: Keep vm.swappiness=10 or lower on VDS nodes; swapping a ZGC heap causes multi-second freezes.
docker inspect mc-atm10 --format '{{.State.OOMKilled}} {{.State.ExitCode}}'
# 32 GB container safe setting:
INIT_MEMORY: "26G"
MAX_MEMORY: "26G"
mem_limit: 32g

Diagnostic FAQ

Why is there no hs_err_pid or crash-reports file on Exit 137?

SIGKILL from the Linux kernel cgroup OOM killer cannot be caught by the JVM, so the process disappears mid-instruction.

Does ZGC need more native headroom than G1GC?

Generational ZGC uses ~200-350 MB more native metadata than G1GC, making the +2.4-4.2 GB non-heap reserve mandatory.

Related ATM10 Errors Guides

MCATM10RAM: Match JVM heap + off-heap before deploy Launch Game Panel