# Heap is not the whole process: Native Memory Tracking on a live JVM (JDK 25, G1, -Xmx512m, 150 MB live)
$ jcmd <pid> VM.native_memory summary   (category totals only)
Total: reserved=1973775KB, committed=597955KB
Java Heap (reserved=524288KB, committed=524288KB)
Class (reserved=1048647KB, committed=199KB)
Thread (reserved=20545KB, committed=1053KB)
Code (reserved=247794KB, committed=7650KB)
GC (reserved=47599KB, committed=47599KB)
GCCardSet (reserved=9KB, committed=9KB)
Compiler (reserved=214KB, committed=214KB)
Internal (reserved=1297KB, committed=1297KB)
Symbol (reserved=1131KB, committed=1131KB)
Native Memory Tracking (reserved=180KB, committed=180KB)
Shared class space (reserved=16384KB, committed=13928KB, readonly=0KB)
Arena Chunk (reserved=1KB, committed=1KB)
Tracing (reserved=5KB, committed=5KB)
Module (reserved=40KB, committed=40KB)
Safepoint (reserved=8KB, committed=8KB)
Synchronization (reserved=66KB, committed=66KB)
Serviceability (reserved=17KB, committed=17KB)
Metaspace (reserved=65548KB, committed=268KB)
String Deduplication (reserved=1KB, committed=1KB)
Object Monitors (reserved=1KB, committed=1KB)

resident set size of the process, from /proc: 549.477 MB
