By default, JProfiler performs a full GC in the heap dump. You can select the weak reference types that should cause objects to be retained in the heap dump. By default, soft references will retain objects in the heap dump. If you deselect the "Perform a full GC in heap dump" setting, the heap dump may contain unreferenced objects that have no path to a GC root.
Retained sizes can only be calculated if the "Perform a full GC in heap dump" check box is selected.
If this option is checked, the heap walker will record primitive data and display string values and values of primitive fields in the reference views.
Deselecting this option will save memory and is advisable if you experience memory problems when taking heap snapshot. If primitive data is not recorded, it will be requested on demand in a live session, depending on whether the object still exists. The data may not be the same as at the time of the heap snapshot in that case.