Im analyzing a heap dump using memory analyzer tool .From the dominator tree I've selected the class with highest retained memory (around 47%). Selected objects with out going reference and i see there is a hash map entry with more than 1GB of retained memory. I see the key and value pair like this
Class Name | Shallow Heap | Retained Heap
---------------------------------------------------------------------------------------
key java.lang.String @ 0x717278cd8 MapAllProfilesOutput| 32 | 88
---------------------------------------------------------------------------------------
Class Name | Shallow Heap | Retained Heap
------------------------------------------------------------------------------------------------
value com.tibco.xml.xdata.xpath.Variable @ | 24 | 1,194,483,312
|- <class> class com.tibco.xml.xdata.xpath.Variable | 16 | 2,296
|- mValue com.tibco.xml.datamodel.nodes.Document | 48 | 1,194,483,288
------------------------------------------------------------------------------------------------
Is there a way I can get the contents of the value ? I was reading some where about hashing using OQL so wanted to check the possibility. Also my heap dump is around 4.5 GB.