Skip to Content

This blog gives an insight into SAP Memory management. The contents has mainly data from SAP Performance  optimisation guides, discussions in internet  and most importantly my experience in SAP World.  I tried not to do too much copy and paste (In this Internet world nobody can claim authority of their data  , correct???, So please tell me if it is reproduced from somewhere  else) The blog is my  point of view and any different opinions or approaches are welcome .Have fun!!

What is RAM and Virtual Memory?

When we discuss about memory  in a SAP Perspective , the first thing comes into my mind is Physical Main Memory (RAM). RAM Is physically available main memory .

Well, we have to consider  a bit more we call it virtual memory , The general rule of thumb is RAM and Virtual memory should be in a considerable ratio (I know it is very subjective ) What I mean to say is that there shouldnt be a huge difference . All the processes together cant have more memory than sum of RAM+ Available SWAP SPACE which is almost equal to Virtual Memory .

The conclusion is that you can consider more than RAM in your SAP system .

STOP Here you want o know what is Virtual memory available in your SAP system??

Transaction ST02, Click on storage as per the screenshot

St02.png

Virtual memory is the sum of local memory and shared memory.

Local Memory?

Only one operating process can read or write from this memory.

Shared Memory ?

Shared memory can be accessed by multiple operating system process (In an SAP World shared memory of Work process can be accessed by a work process of the same instance)

VM.png

We are talking terms  of 64bit technology. I am not sure about 32 bit architecture it has to do something about address space and the fragmentation which I conveniently ignore it here. Lets make it simple , most of the systems are 64bit and lets discuss from that perspective. Lets make conclusion here

RAM -Physically Available Main memory

Virtual Memory – More than RAM ๐Ÿ™‚ which can be used by all processes

Shared Memory – as it sounds , shared , SAP Buffers reside here

Local Memory- Local to a SAP Work process or Operating system work process

I stop here and get to SAP Terminology which will be based on these base concepts. Have a cup of Coffee Now.

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Former Member

    Hi Andy,

    This is the finding st02->Goto->Current Local data

    User storage for all work processes               4,745,895   K

    Size of SAP executables (Disp+Work) Shared text      67,975   K

    Size of Extended Memory                          12,521,472   K

    Virtual memory allocated            *TOTAL*      20,020,472   K

    So does it mean that the total memory available to SAP is   20,020,472   K.

    What does this mean?

    Maximum heap area for all work processes   7,812,500   K

    Does heap area comes from virtual memory?

    Thanks

    Sabya

    (0) 

Leave a Reply