Show TOC

Understanding the Memory Inspector OverviewLocate this document in the navigation structure

Procedure

When you open a memory snapshot, the Memory Inspector activates analysis tools in the bottom half of the screen.

This section explains how to use the Overview- the first of the analytic tools.

The Overview shows memory use broken down by primary types. Use the Overview to compare screen shots. You can then find out quickly whether memory use has increased between snapshots.

In the comparison of memory snapshots shown below, memory used jumped by 50 MB, tripling the size of the program context.

Figure 1: The Overview in the Memory Inspector

The categories of memory objects under the ABAP Application (Memory Sizes in Bytes) heading are as follows:

  • Static variables shows the memory required for fixed-size global data.

  • Stack shows the amount of ABAP Stack storage used by the ABAP application at the moment that the memory snapshot was made. ABAP Stack memory is used for method and form routine parameters and local variables. The storage is freed when the method or form routine ends.

  • Dyn. Memory Objects (Used) shows the storage in use by the dynamic memory objects in the ABAP program. Dynamic memory objects are those that can change in size while a program is running. They are internal tables, strings, class objects, anonymous data objects, and boxed components.

    In the example above, the memory required for dynamic objects has increased by about 50 MB, a change that should be investigated.

  • Total shows the total amount of memory used (bound) by the program - the sum of Static Variables, Stack, and Dynamic Memory Objects.

The memory categories under Roll Area (Memory Sizes in Bytes) show the total size of the program in the ABAP memory management system.

Total (Allocated) shows the total amount of memory allocated to the internal session from host memory. It includes both memory attributable to ABAP program objects and memory for session management and the ABAP runtime.

Note

Follow the link for more information on Memory Inspector concepts.