The heap is the part you configured and the smaller part of what the process uses. The kernel counts everything the cgroup touches, including the page cache the JVM never asked for.
28 answers per topic instead of 18, and your progress kept · no cardor unlock all 386 remaining answers · ₹2,000 / $25