Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Memory management

Former Member
0 Likes
461

Hi Everyone,

I would like to know the SAP MEMORY MANAGEMENT?

Regards,

Ansar

2 REPLIES 2
Read only

Former Member
0 Likes
412

Hi,

SAP Memory Management (BC-CST-MM)

This documentation introduces you to the SAP Memory Management System and explains which parameters are available and what the optimal settings for your system are.

It describes the basic functions of the SAP Memory Management System and how best to configure your system depending on the platform you use, the available resources, and what you want your system to do.

It also describes hardware and operating system requirements and explains how to monitor the system and recognize and resolve problems.

The documentation is divided into several sections:

Functions of the SAP Memory Management System

An application runs in an SAP work process where an ABAP program is normally executed. The process requires memory to do this, which is allocated to the process by the memory management system. The order in which the work process is assigned the memory type depends on the work process type, either dialog or non-dialog (see SAP Memory Types), and the underlying operating system.

This is described in more detail in the documentation on the operating system.

The location of the various memory areas in the virtual address space is explained in Virtual Address Space of a Work Process.

The area of a user context that is directly accessible is now extended as needed, if the user context has expanded. For dialog work processes, the data of the user context, including internal tables is located in this expanded area. You can therefore access all the data in the user context. Only data of the types "extract" and "export to memory" stay in SAP Paging.

The SAP Roll Area is used for the initial memory assigned to a user context, and (if available) for additional memory if the expanded memory is full.

The following diagram displays the memory types that can be assigned to work processes on the SAP and operating system level. Here are the most important system profile parameters that control the availability of the memory types

Whenever a dialog step is executed, a roll action occurs between the roll buffer in the shared memory and the memory area, which is allocated according to ztta/roll_first in a dialog process. Then the area in the shared memory is accessed that belongs to this user context.

The following graphic displays the roll process performed by the dispatcher.

· Roll-in: cross-user data is rolled in from the common resource in the work process (and is processed there).

· Roll-out: User-specific data is rolled out from the work process in the common resource (after the dialog step has ended).

The common resource stands for the different SAP memory types.

Check out this link Would be Helpfull for you

http://help.sap.com/saphelp_nw04/helpdata/en/02/962acd538111d1891b0000e8322f96/frameset.htm

Reaward If helpfull,

naresh.

Read only

Former Member
0 Likes
412

Hi Ansar

In SAP, memory usage is divided into several areas. such as:

1. SAP Buffer

2. SAP Roll Memory

3. SAP Extended Memory

4. SAP Heap Memory

5. SAP Paging Memory

Reffer the below link for information

[asfan.files.wordpress.com/2007/12/memorymanagement.ppt ]

Reward if helpful

Regards

Lakshman