A memory snapshot captures data on live objects, object allocation and liveness. The data captured in the snapshot depends upon the options that were selected for the profiling session. 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:
If Record Stack Trace for Allocations was selected as a profiling option you can 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.
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.