IntelliJ IDEA
 
Get IntelliJ IDEA

Create and open memory snapshots

Last modified: 17 June 2024

Heap dumps are useful for identifying memory-related problems. You can analyze the heap to find memory leaks and locate the code that uses large amounts of memory resources. IntelliJ IDEA allows you to analyze .hprof snapshots regardless of whether they were taken in the IDE or any other external tool.

The snapshot also appears under Recent snapshots. From there, you can view the recent snapshots or open other snapshots that are stored elsewhere on your hard drive.

By default, the snapshots are stored in the user home directory. If you prefer another location, you can change that.

If you are developing an IDE plugin, you may want to take a memory snapshot of IntelliJ IDEA itself.