Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mat-dev] Clear only-softly-retained objects by default?

There was some confusion by a MAT user observing 938MB of memory usage of only softly-retained objects. This was found with Open Query Browser } Java Basics } References } Soft references statistics and reviewing the Total line of the Shallow Heap column in the Only Softly Retained tab.

An interesting idea came up of clearing only softly-retained objects by default when parsing a dump in the same way that MAT clears unreachable objects by default, and having a similar preference of "Keep only-softly-retained objects". Thoughts? I have seen this issue cause confusion for a customer at least one time before.

--
Kevin Grigorenko
IBM App Platform SWAT


Back to the top