0% found this document useful (0 votes)
2K views

SAP Memory Management

The document discusses different types of SAP memory management including basics of memory, SAP roll area, extended memory, heap memory, and buffers. SAP memory includes physical memory, virtual memory, local memory, and shared memory. The SAP roll area temporarily stores user contexts and can include a local area and shared area, using roll in/out to copy contexts between the two. Extended memory is shared memory where user objects and data are stored, allowing all work processes direct access. Heap memory is used when extended and roll memory are full. Buffers cache frequently used objects to improve performance.

Uploaded by

Shobhit Garg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

SAP Memory Management

The document discusses different types of SAP memory management including basics of memory, SAP roll area, extended memory, heap memory, and buffers. SAP memory includes physical memory, virtual memory, local memory, and shared memory. The SAP roll area temporarily stores user contexts and can include a local area and shared area, using roll in/out to copy contexts between the two. Extended memory is shared memory where user objects and data are stored, allowing all work processes direct access. Heap memory is used when extended and roll memory are full. Buffers cache frequently used objects to improve performance.

Uploaded by

Shobhit Garg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Agenda

Basics of memory

SAP Roll Area

SAP Extended Memory

SAP Heap memory


SAP Buffer

Sap Memory Management


Basics of Memory

Physical memory and Virtual memory

Virtual memory

Paging File

Physical memory
& /

OS Swap Space

Sap Memory Management


Basics of Memory

Local memory and shared memory

Virtual memory

Workprocess Local memory

All work processes of one instance Shared Memory

Sap Memory Management


SAP Roll Memory

SAP Roll Memory

 Local SAP Roll area of work process


- The initial part of user context stored
- Each SAP work process can only access its own roll area

Shared SAP Roll Area


- Accessible to all of instance work processes
- Buffer to temporary keep user context when a user is assigned to
new work process

- Roll in : copying user context from shared roll area to local roll area
- Roll Out : copying user context from local roll area to shared roll area

Sap Memory Management


SAP Roll Memory

Roll buffer (shared memory)


Roll area Roll area
(local) (local)
copy copy

Work
Work Process2
Process1
Roll file (disk)

ztta/roll_first Roll Buffer (shared)


Roll
(local) Roll In /
Roll Out
ztta/roll_area
Roll file

Sap Memory Management


SAP Extended Memory

SAP Extended Memory

Extended memory is the heart of the memory system

Shared memory in which objects, data, internal tables associated with individual users
are stored

 All SAP work process can edit stored user context directly

Each WP has a part of memory reserved in extended memory

 Makes roll process much faster

Sap Memory Management


SAP Extended Memory

Memory allocation for Dialog WP

Roll Roll Heap


Area Extended Memory Area 2 memory
1

Extended Memory WP has


used up Roll entered in
memory PRIV Mode
used up

Sap Memory Management


SAP Heap Memory

SAP Heap Memory

•It is used when Extended and roll memory are full.

•It is allocated and released on demand.

•It is the part of the Local memory

Sap Memory Management


SAP Heap Memory

Sap Memory Management


SAP Buffer

SAP Buffer/Client Cache

• When the object is used frequently, it is moved to the buffer.

• HIT Ratio

• SWAP Rate

• Types of buffer :
1) Repository Buffer
2) Table buffer
3) Prog Buffer
4) SAP GUI Buffer
5) Calendar Buffer
6 ) Export/Import Buffer

Sap Memory Management


SAP Buffer

Sap Memory Management

You might also like