SAP Memory Management is a memory management system that enables optimal use of the memory in your ABAP system and therefore ensures high performance.
Functions of SAP Memory Management
When a user logs on to an application server instance (AS instance) in the ABAP system, a user session is opened. Within a session, the user sends a request to Application Server ABAP (AS ABAP). An ABAP program is started that is executed by multiple work processes. A separate memory area is assigned to each user session.
To run an ABAP program within a user session (internal session), the work process allocates memory, which contains user data (user context), as well as program data. Depending on the type of data, it is located in different memory areas. SAP Memory Management decides when and in what order a work process allocates specific memory areas. The order of memory allocation depends on the work process type (dialog or non-dialog) and on the underlying operating system.
Work Processes
An Application Server ABAP (AS ABAP) processes requests from many front ends. Each AS instance has a dispatcher, which forwards the collected requests to the relevant work processes for processing. The work processes then execute the requests (ABAP programs).
Note
You can decide how many work processes of the different types can run in your ABAP system.
SAP Memory Management differentiates between the following work process types:
Dialog work processes
Non-dialog work processes (background, update, spool)