## Memory Snapshot

See Also

A memory snapshot captures data on object allocation and liveness. You can take a memory snapshot when you are analyzing memory usage. The snapshot is displayed in the main editor window.

The snapshot contains the following tabs:

- Memory Results. This tab displays a list of classes (including array classes), with the total size and number of instances allocated at the time you took the snapshot. You display the stack traces for a specific class by right-clicking the name of the class and selecting Show Allocation Stack Traces. The stack traces are displayed in the Allocation Stack Traces tab.
- Info. This tab displays data on when the snapshot was taken, where it is saved, and the configuration of the profiling session.
- Allocation Stack Traces. This tab displays a reverse call graph with all call paths leading to object allocations for the given class. This tab is only available if Record Stack Trace for Allocations was selected as a profiling option.

You can load the source `.java` file of a class by right-clicking any class in the Memory Results tab or the Allocation Stack Traces tab and selecting Go To Source.

See Also
  Taking a Snapshot
  Exploring Snapshots
  Analyzing CPU Performance
  About Profiling Results

Legal Notices