Memory Management PDF
Memory Management PDF
Webinar
Raquel Gómez, SAP
December, 2017
CUSTOMER
Agenda
▪ Memory types
▪ Relevant Parameters
▪ OS specific differences
▪ Memory monitoring
EG
ST02:
rdisp/PG_SHM = rdisp/PG_MAXFS
rdisp/PG_MAXFS = 32880
▪ #2148571 - Explanation for higher Extended Memory (EM) and Extended Global Memory (EG) consumption
after upgrade to SAP Kernel 7.4x
It is possible to change memory allocation order and its quotas in RSMEMORY report
ES/TABLE = SHM_SEGS
em/address_space_MB = $(em/initial_size_MB)
PHYS_MEMSIZE
es/implementation = std
#941735 – SAP memory management for 64-bit Linux system => std
#386605 - SAP Memory Management for Linux (32-bit) => map
✓ ST22 dump
✓ ST06 OS resources
✓ /SDF/MON
✓ RZ20
dev_w<nr>:
M <timestamp>
A SelMemClass: heap quota (DIA) exceeded 2000000000 2002751168
or
A SelMemClass: heap quota (NONDIA) exceeded 2000000000 2002751168
#2180736 - TSV_TNEW_PAGE_ALLOC_FAILED
dev_w<nr>:
M <timestamp>
A Wed Aug 02 13:10:00 2017
A *** ERROR => User <USERNAME> reached avail. heapsize = 2000 MB: see ST22 [abstor.c 1904]
A *** ERROR => Increase abap/heap_area_total [abstor.c 1905]
#2180736 - TSV_TNEW_PAGE_ALLOC_FAILED
© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ CUSTOMER 22
Dumps and troubleshooting
LOAD_NO_ROLL
Points to EM shortage (EM Exhausted):
Component............ EM
Location.......... SAP-Server <hostname_SID_nr> on host <hostname> (wp <nr>)
Version.............. 37
Error code............ 7
Error text............ Warning: EM-Memory exhausted: Workprocess gets PRIV
A *** ERROR => max. memrequest size exceeded 469185630 268435455 [abstor.c 693]
#353579 - SYSTEM_NO_ROLL
2. Check from OS perspective which process is allocating the memory, to identify where does the
problem comes from.
➢ Not only increasing memory resources; but also check from application perspective if the
selection criteria can be reduced to reduce the amount of memory being consumed.
Contact information:
Raquel Gómez
SAP Product Support – NW Core
[email protected]