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 Snapshots command from the main menu and select two memory snapshots. Alternatively, you can click the compute the difference button ( compute the differences 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 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.

Sampling Comparison

If the Quick (sampled) option was selected for the profiling session, the comparison provides details on the difference between the number of live objects in the two snapshots.

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

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

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:

See Also
Taking a Snapshot
Exploring Snapshots
Analyzing Application Memory Usage
About Profiling Results

Legal Notices