Heap Dumps
Learn Heap Dumps (JVM Performance, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
6. Basic Concepts What is a Heap Dump? A heap dump is a snapshot of every object living in the JVM's heap memory at a single point in time - every object, its fields, and the references between objects. It's saved to a file (usually with a .hprof extension) that you can open later in an analysis tool. Think of it like a photograph of your application's memory - frozen at the exact moment you took it, so you can study it calmly instead of guessing about a moving target.