My Oracle Support Banner

Jrcmd Command 'heap_diagnostics' didn't Calculate Free Heap-Memory Exactly (Doc ID 1429143.1)

Last updated on OCTOBER 11, 2018

Applies to:

Oracle JRockit - Version R27.6 and later
Information in this document applies to any platform.


In the output of command 'jrcmd <pid> heap_diagnostics', the free heap memory displays as below:

Total memory in system: 541168795648 bytes
Available physical memory in system: 506851618816 bytes
-Xmx (maximal heap size) is 2147483648 bytes
Heapsize: 2147483648 bytes
Free heap-memory: 737277624 bytes

... ...

--------- Detailed Heap Statistics: ---------

... ...

585722kB total ---
--------- End of Detailed Heap Statistics ---

It shows that free memory is 737M, objects 580M, the sum is 1.3G, but heapsize is 2G (nursery size unknown)


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.