SAP Knowledge Base Article - Preview

3390096 - OPERATING_SYSTEM_LIMIT violation despite /proc/sys/vm/max_map_count being set correctly

Symptom

In the indexserver service tracing you notice exceptions similar to the following:

[2983031]{312280}[-1/-1] 2023-08-01 20:52:15.657546 e Memory           mmPrecharge.cpp(01324) : Free precharge after error in 'addMemory'.
[2983031]{312280}[-1/-1] 2023-08-01 20:52:16.134875 e Memory           mmMallocProxy.cpp(01988) : mmap(0x0001ffff4a357000, 3049951232, 3, 34, -1, 0) failed.12 (Cannot allocate memory)
[2983031]{312280}[-1/-1] 2023-08-01 20:52:16.134912 e OSMemory         mmMallocProxy.cpp(02089) : Failed: mmap MM (a=0x0001ffff4a357000,s=3049951232,p=3,f=34,fd=-1,o=0, 12 (Cannot allocate memory)
[2983031]{312280}[-1/-1] 2023-08-01 20:52:16.134920 e Memory           Memory.cpp(01223) : memAllocSystemPages failed (s=3049951232, NUMA=node005) rc=12?
[2983031]{312280}[-1/-1] 2023-08-01 20:52:16.134927 e Memory           mmPrecharge.cpp(00221) : memAllocSystemPages failed with rc=12, 12 (Cannot allocate memory)
[2983031]{312280}[-1/-1] 2023-08-01 20:52:16.134942 w Memory           mmPoolAllocator.cpp(01231) : Out of memory for Pool/ColumnStore/Main/Uncompressed, size 3049949384B, alignment=1B, flags 0x0, reason OPERATING_SYSTEM_LIMIT
...
[2983031]{312280}[-1/-1] 2023-08-01 20:52:16.350134 e Memory           mmReportMemoryProblems.cpp(01848) : OUT OF MEMORY occurred.
Host: <host name>
Executable: hdbindexserver
PID: <process ID>
Failed to allocate 2.83gb (3049949384b).
Allocation failure type: OPERATING_SYSTEM_LIMIT

---

As described by 2800138, you have already followed 1980196 to suitably set OS parameter /proc/sys/vm/max_map_count.


Read more...

Environment

SAP HANA, platform edition 2.0

Product

SAP HANA, platform edition 2.0

Keywords

mmap, itab_initial_buffer_size, allocator, allocations, Pool/RowEngine/Session , KBA , HAN-DB , SAP HANA Database , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.