SAP Program RSMEMORY - Set Memory Strategy

Description
This program allows you to define both the size and the sequence of theindividual memory areas in the SAP memory. You can thus set differentvalues and sequences for dialog and background processes.


  • Dialog:

  • Initially, dialog processes always require a small roll area (500,000 -1,000,000 bytes). Further memory space is requested from the EM(extended memory) area which allows the user to switch to other workprocesses. This area is divided among all the users working on theapplication server. If the EM value is 200,000,000 bytes, a user canrequest this amount of memory from the EM area. This means that theother users may then get much less. If the roll area and the EM memoryare exhausted, there is still some heap memory left. Since heap memorycannot switch contexts, it is assigned to the requesting user and isnot available to other users. Only when the user has released all thememory from the heap can other users use this work process. For thisreason, the requesting of heap memory in dialog processes must be anexecption because the number of work processes cannot be increasedindefinitely.
    • Background/update/spool:

    • These processes usually satisfy their memory requirements from the heapmemory. When this is exhausted, memory is requested from the EM area(this makes sense because few dialog processes are active at night andthe EM memory is otherwise unused).

      Displaying the memory areas:
      By selecting Goto -> EM/HEAP areas, you can output a list of allusers on the application server with their memory requirements.
      This is followed by a list of users who have used more memory than thelimit determined by em/stat_log_size_MB.
      At the end of the list, the amount of heap and EM memory stillavailable is displayed.

1641519Operating system (in)dependent SAP memory management issues
954792Known problems with Support Packages in SAP NW 7.1 AS ABAP