Skip to Content
0
Former Member
May 08, 2008 at 01:48 PM

How to interpret "Retained Heap" correctly?

61 Views

Hi all,

I have difficulties to understand how "Retained Heap" is calculated in the 'outgoing references' view.

I have for example object

com.wuerth.phoenix.bcserver.base.versant.UpdateSession @ 0x7c780f00

for which SAP Memoryanalyzer shows a retained Heap of 77.392 bytes.

In the same view for 0x7c780f00 there is shown a outgoing (hard) reference to

com.versant.trans.TransSession @ 0x7c787d38

for which SAP Memoryanalyzer surprisingly shows a retained Heap of 191.096 bytes !

191.096 > 77.392 so it seems that SAP Memoryanalyzer

isn't considering all outgoing references when calculating the "Retained Heap" which is confusing me.

Any explanation is welcome

thanks

Guenther Demetz