Start of Content Area

Function documentation Comparing Memory Snapshots  Locate the document in its SAP Library structure

You can compare two existing memory snapshots by forming differences. A number of functions are available in the relevant display area.

A comparison is carried out by:

·        Choosing Display Difference in the Initial Screen of the Memory Inspector

·        Specifying (t_1 - t_0) in the Memory Snapshot input field in the display area of the Memory Inspector

·        Choosing the function Memory Analysis Compare Memory Snapshots in the ABAP Debugger

To be able to compare memory snapshots, they must have been created within the same internal session. Comparisons are not possible in the Object Cycles view.

In the difference display, the memory objects are displayed in three categories. First, the system displays any new memory objects. These are indicated by a plus sign (+) before the object name and displayed in red. The new objects are sorted by the absolute values of their memory consumption.

The system next displays the memory objects whose memory consumption has changes. They are displayed in black. Only those values that have changed are highlighted in color. The objects are sorted by their change in memory value.

Finally, the system displays the memory objects that still existed at the time t_0 but not at the time t_1. They are in blue and indicated by a minus sign (-) before the object name. Again, the objects are sorted by their absolute values.

The difference display does not include memory objects that exist both for t_0 and for t_1 and have the same memory values.

In the difference display, the display filter applies to all the above categories separately. Therefore, if the filter is set to n, the system displays a maximum of 3n memory objects: n new, n changed, and n disappeared.

 

 

End of Content Area