SAP Knowledge Base Article - Preview

3650142 - Memory allocation failed with reason SHRINKS_ARE_FORBIDDEN

Symptom

There is the OOM dump happened in the indexserver trace, and the failure looks like below:

 2025-05-25 10:20:22.284351 w Memory           mmPoolAllocator.cpp(01243) : Out of memory for Pool/PersistenceManager/PersistentSpace/DefaultLPA/ShadowPage, size 262144B, alignment=4096B, flags 0x0, reason SHRINKS_ARE_FORBIDDEN
   0: 0x00007f163f96b0dd in Diagnose::CallStack::fillTrace(ltt::basic_ostream<char, ltt::char_traits<char> >&, void**, unsigned long, Diagnose::RegisterSet const*, void const*, bool, unsigned long, Diagnose::CallStackModifier*)+0x269 at Basis/Diagnose/impl/CallStack.cpp:765 (libhdbbasis.so)
   1: 0x00007f163f9700e9 in ltt::operator<<(ltt::basic_ostream<char, ltt::char_traits<char> >&, Diagnose::CallStack const&) [clone .part.0]+0x25 at Basis/Diagnose/impl/CallStackManager.cpp:939 (libhdbbasis.so)
   2: 0x00007f163ffbf517 in ltt::operator<<(ltt::basic_ostream<char, ltt::char_traits<char> >&, Diagnose::CallStack const&) [clone .constprop.0]+0x23 at Basis/System/impl/IsInMain.cpp:179 (libhdbbasis.so)
   3: 0x00007f163fe1b386 in MemoryManager::PoolAllocator::oomHandling(unsigned long, unsigned long, bool)+0x212 at Basis/MemoryManager/impl/mmPoolAllocator.cpp:1243 (libhdbbasis.so)
   4: 0x00007f163fe1b8d7 in MemoryManager::PoolPageAllocator::allocate_nothrow_impl(unsigned long, void const*)+0x93 at Basis/MemoryManager/impl/mmPoolAllocator.cpp:2014 (libhdbbasis.so)
   5: 0x00007f163ff6e8c8 in ltt::allocator::allocate(unsigned long, void const*)+0x24 at ltt/impl/memory.cpp:184 (libhdbbasis.so)
   6: 0x00007f164261793a in PageAccess::PageControlBlock::acquireShadowPage(unsigned long, PageAccess::Page*, unsigned long, DataAccess::SavepointVersion, bool, DataAccess::PageFlushStatistics&, bool&)+0x216 at DataAccess/PageAccess/Page.hpp:483 (libhdbdataaccess.so) 


Read more...

Environment

  • SAP HANA Database 2.0

Product

SAP HANA, enterprise edition 1.0 ; SAP HANA, platform edition 2.0

Keywords

SHRINKS_ARE_FORBIDDEN, memory, Allocation failed, failure , 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.