cancel
Showing results for 
Search instead for 
Did you mean: 

SAP free memory is less than 30MB

Former Member
0 Kudos

HI Gurus,

I have a concerned with regards to the memory of our Server. As per checking from ST06N the free memory is less than 30MB.

Is this normal? Because everytime I reached this low memory Users could not log on resulting to restart the SAP application.

Here is the hardware details:

Server: AIX

CPU: 5GHZ

RAM: 16GB

Page File: 50GB

Instance parameter that might help you.

ztta/roll_area 6000640

ztta/roll_extension 4000000000

abap/heap_area_total 4000000000

abap/heap_area_dia 4000000000

abap/heap_area_nondia 4000000000

em/initial_size_MB 8096

Thanks in advance.

Best regards

Accepted Solutions (1)

Accepted Solutions (1)

ImtiazKaredia
Active Contributor
0 Kudos

Is your Database on same server. How much memory has been allocated to Database in that case.

Also Request if you could give the output of sappfpar at OS level (please give worst case requirement)

sappfpar can be run at OS level using below systax

sappfpar check pf=<instance profile>

Former Member
0 Kudos

Yes it is CI system. Below is the result of sappfpar

***ERROR: Size of shared memory pool 10 too small

================================================================

SOLUTIONS: (1) Locate shared memory segments outside of pool 10

with parameters like: ipc/shm_psize_<key> =0

SOLUTION: Increase size of shared memory pool 10

with parameter: ipc/shm_psize_10 =156000000

Shared memory disposition overview

================================================================

Shared memory pools

Key: 10 Pool

Size configured.....: 134000000 ( 127.8 MB)

Size min. estimated.: 153795112 ( 146.7 MB)

Advised Size........: 156000000 ( 148.8 MB)

Key: 40 Pool for database buffers

Size configured.....: 114000000 ( 108.7 MB)

Size min. estimated.: 108871136 ( 103.8 MB)

Advised Size........: 112000000 ( 106.8 MB)

Shared memories inside of pool 10

Key: 1 Size: 2500 ( 0.0 MB) System administration

Key: 2 Size: 6218836 ( 5.9 MB) Disp. administration tables

Key: 11 Size: 500000 ( 0.5 MB) Factory calender buffer

Key: 12 Size: 6000000 ( 5.7 MB) TemSe Char-Code convert Buf.

Key: 13 Size: 60500000 ( 57.7 MB) Alert Area

Key: 16 Size: 22400 ( 0.0 MB) Semaphore activity monitoring

Key: 17 Size: 2754336 ( 2.6 MB) Roll administration

Key: 30 Size: 51200 ( 0.0 MB) Taskhandler runtime admin.

Key: 31 Size: 4806000 ( 4.6 MB) Dispatcher request queue

Key: 33 Size: 10240000 ( 9.8 MB) Table buffer, part.buffering

Key: 34 Size: 4194304 ( 4.0 MB) Enqueue table

Key: 51 Size: 3200000 ( 3.1 MB) Extended memory admin.

Key: 52 Size: 40000 ( 0.0 MB) Message Server buffer

Key: 54 Size: 4202496 ( 4.0 MB) Export/Import buffer

Key: 55 Size: 8192 ( 0.0 MB) Spool local printer+joblist

Key: 57 Size: 1048576 ( 1.0 MB) Profilparameter in shared mem

Key: 58 Size: 4096 ( 0.0 MB) Enqueue ID for reset

Shared memories inside of pool 40

Key: 42 Size: 7056992 ( 6.7 MB) DB TTAB buffer

Key: 43 Size: 32494488 ( 31.0 MB) DB FTAB buffer

Key: 44 Size: 7914392 ( 7.5 MB) DB IREC buffer

Key: 45 Size: 4842392 ( 4.6 MB) DB short nametab buffer

Key: 46 Size: 20480 ( 0.0 MB) DB sync table

Key: 47 Size: 3073024 ( 2.9 MB) DB CUA buffer

Key: 48 Size: 500000 ( 0.5 MB) Number range buffer

Key: 49 Size: 2968344 ( 2.8 MB) Spool admin (SpoolWP+DiaWP)

Shared memories outside of pools

Key: 3 Size: 13714400 ( 13.1 MB) Disp. communication areas

Key: 4 Size: 531448 ( 0.5 MB) statistic area

Key: 6 Size: 319488000 ( 304.7 MB) ABAP program buffer

Key: 7 Size: 14838 ( 0.0 MB) Update task administration

Key: 8 Size: 67108964 ( 64.0 MB) Paging buffer

Key: 9 Size: 134217828 ( 128.0 MB) Roll buffer

Key: 14 Size: 4400128 ( 4.2 MB) Presentation buffer

Key: 18 Size: 917604 ( 0.9 MB) Paging adminitration

Key: 19 Size: 30000128 ( 28.6 MB) Table-buffer

Key: 41 Size: 25010000 ( 23.9 MB) DB statistics buffer

Key: 62 Size: 85983232 ( 82.0 MB) Memory pipes

Key: 63 Size: 409600 ( 0.4 MB) ICMAN shared memory

Key: 64 Size: 4202496 ( 4.0 MB) Online Text Repository Buf.

Key: 65 Size: 4202496 ( 4.0 MB) Export/Import Shared Memory

Key: 1002 Size: 400000 ( 0.4 MB) Performance monitoring V01.0

Key: 58900100 Size: 4096 ( 0.0 MB) SCSA area

Nr of operating system shared memory segments: 18

Shared memory resource requirements estimated

================================================================

Total Nr of shared segments required.....: 18

System-imposed number of shared memories.: 1000

Shared memory segment size required min..: 319488000 ( 304.7 MB)

System-imposed maximum segment size......: 35184372088832 (33554432.0 MB)

Edited by: Joel Cancio on Jan 14, 2011 8:11 AM

Former Member
0 Kudos

Swap space requirements estimated

================================================

Shared memory....................: 916.1 MB

..in pool 10 127.8 MB, 114% used !!

..in pool 40 103.8 MB, 95% used

..not in pool: 658.6 MB

Processes........................: 626.4 MB

Extended Memory .................: 8096.0 MB

-


Total, minimum requirement.......: 9638.5 MB

Process local heaps, worst case..: 3815.0 MB

Total, worst case requirement....: 13453.5 MB

Errors detected..................: 1

Warnings detected................: 1

ImtiazKaredia
Active Contributor
0 Kudos

You did not give memory configuration of DB.

Please calcualte the total memory of SAP and DB.

As per standard database memeory config I assume you total config should be more than your RAM. As a result you will have most of your RAM used up. Hence you are seeing it correct that Physical memory free is 30MB (I am assuming when you reffered to free memory you meant physical memeory)

Now your total virtual memory is 66 GB.

Hence I do not think this should result in system not running.

However since RAM is less compared to requirements you must be having very high paging. Hence your performance must be getting degraded significantly. Hence you must be getting feeling that your system has hung. You may not be even able to login.

I would suggest recheck yur memeory requirements. Can you reduced the memory assignment. Or the other way can you increase your memeory.

Former Member
0 Kudos
SOLUTION: Increase size of shared memory pool 10
with parameter: ipc/shm_psize_10 =156000000

Did you create/amend above parameter to start with? Execute the sappfpar again after making parameter changes.

Former Member
0 Kudos

Hi Imtiaz.Karedia,

Actually I dont know how to get DB memory. Kindly give me the command or tcode for it. As for the sytem paging it only used 800MB of 50GB.

And the answer is yes 30MB is the Physical memory.

Thanks and regards,

Joel

Former Member
0 Kudos

Hi Manoj Chintawar,

If I will create this parameter would it resolve the low memory issue? I mean the physical memory will go up again atleast not less 100MB?

Thanks and regards,

Joel

Edited by: Joel Cancio on Jan 14, 2011 3:51 PM

JPReyes
Active Contributor
0 Kudos

Hi Joel,

After reading the thread, I think you should read the documentation regarding memory management and consider to either increase your RAM or shrink a bit your system.

Its hard to make recommendations regarding values without having all the facts but theres lots of docs available for you to look into.

You could easily shrink resources by temporarely reducing the amount of processes, checking your system and DB parameters.

Regards

Juan

Answers (0)