Dominator Tree vs. Shallow Heap: Why It Matters for OOM

Unlike shallow heap, the dominator tree reveals an object's *retained size*, showing the total memory that would be reclaimed if that object and its dominated subtree were garbage collected, pinpointing the true leak culprit.

Sources

Open the full topic