I have a dump of a HEAP object, accessible to me with me, through Jmap. I also saw a dump through Jhat, but I need to calculate the size of the object. How am i doing this.
In the dump, I see: Example
Class name, summary objects, total size
com.test.app.CallRecord, 2194, 446324
so if I calculated 446324/2194 = 203.So 203 bytes is the size of 1 CallRecord object. This is true? I have a confusion here. What is this size. Does it also include link size?
m Confused ..... Someone asked me to tell him the size of the CallRecord object. Should I tell him 203 bytes. I have doubts whether it is right or not.
Does 203 bytes include the size of the link under the CallRecord object.
How to calculate. Your thoughts are requested.
Thanks in advance.
source share