The memory viewer in IntelliJ IDEA allows you to work with a detailed breakdown of HPROF snapshots. Memory snapshots are useful to locate code that uses a large amount of memory, and to search for memory leaks.

To analyze a snapshot, go to Run | Open Profiler Snapshot | Open and select a file with the .hprof extension.