It helped us:
- Analyze heap retention paths
- Identify orphaned caches
- Fix static collections growing forever
Heap histograms showed:
java.util.HashMap - 3.4 GB byte[] - 2.1 GB
Lesson: Don't guess memory usage. Profile it.
java.util.HashMap - 3.4 GB byte[] - 2.1 GB