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 Fixes // ChunkGC Bench

Sizing Non-Heap MetaSpace, DirectBuffer & OS Reserve (+2.4–4.2 GB)

Java heap (-Xmx) is only part of your server RAM bill. ATM10 NeoForge consistently consumes an extra 2.4 to 4.2 GB in native off-heap and OS memory.

Measured ATM10 JVM & Spark Profile

ChunkGC Bench RSS measurements on Linux x86_64 show 450+ mod classes consume ~850 MB MetaSpace, Netty + Chunky DirectBuffers take 500-1,400 MB, JVM code cache/threads use ~450 MB, and Linux kernel/Docker buffers require ~1.0-1.5 GB.

Subsystem / SignalMeasured TargetOperational Impact
JVM MetaSpace (450+ Mods)710 - 920 MBBounded with -XX:MaxMetaspaceSize=1024M
Netty & Chunk DirectBuffer550 - 1,450 MBSpikes during logins and Chunky pregen
Linux OS + Docker + Page Cache1,050 - 1,550 MBPrevents OOM kills & swap thrashing

Step-by-Step Triage & Config Remediation

  1. Never set -Xmx equal to host RAM: Always subtract 2.4 to 4.2 GB from physical/container RAM before setting -Xmx.
  2. Add explicit native caps: Set -XX:MaxMetaspaceSize=1024M and -XX:MaxDirectMemorySize=1536M so native leaks surface cleanly.
  3. Reserve extra 500 MB for sidecars: Account for BlueMap rendering, Simple Voice Chat, or scheduled tar.zst backups.
# Host RAM -> Safe -Xmx Mapping
# 16 GB Hostinger GP4 -> -Xmx12G (4.0 GB off-heap + OS buffer)
# 32 GB Hostinger GP8 -> -Xmx26G (6.0 GB off-heap + OS buffer)
# 64 GB GP16 / VDS64  -> -Xmx56G (8.0 GB off-heap + OS buffer)

Diagnostic FAQ

Why does htop show 15.2 GB used when -Xmx is only 12 GB?

htop RES reports total process RSS: 12 GB heap plus ~3.2 GB of MetaSpace, code cache, native thread stacks, and DirectByteBuffers.

Can I safely use -Xmx13G on a 16 GB node?

It may boot, but Chunky pregen or 15+ concurrent players can push total RSS past 16.0 GB and trigger Docker Exit 137.

Related ATM10 Fixes Guides

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