Memory Snapshot Comparison

See Also

The Memory Snapshot Comparison window displays a comparison of two memory snapshots. This window opens in the main editor window after you choose the Compare Memory Snapshots command and select the two memory snapshots. Alternatively, you can click the Compare Memory Snapshot button in the toolbar of a memory snapshot.

The window displays a table with details about the number of object instances and the amount of memory occupied by the allocated objects at the time the snapshots were taken. The IDE compares the two snapshot and for each object displays the changes that occurred between the snapshots.

The comparison that is displayed depends upon the data that is contained in the snapshots. The data that is captured in the snapshot depends upon the options that were selected for the profiling session.

Allocations Comparison

If Record object creation was selected for the profiling session, the comparison provides details on the total number of instances.

The table in the Allocations Comparison window contains the following columns:

Liveness Comparison

If Record both object creation and garbage collection was selected for the profiling session, the comparison provides more detailed data on live instances.

The table in the Liveness Comparison window contains the following columns:

You can perform the following actions in the memory comparison window.

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

Legal Notices