2253121 – Memory Leak in Pool Pool/malloc/libhdbrskernel.so when Using Batch Inserts Into Rowstore Tables

The heap memory consumption of the SAP HANA Database increases continuously and the memory is not released anymore. In the system view “M_HEAP_MEMORY” it is visible that the allocator Pool/malloc/libhdbrskernel.so consumes a lot of memory. Additionally in the allocation stack traces the following callstack can be identified as a top consumer:

1: 0x00007fc7ef38baac in ptime::RowInsertReproducibleJobNode::preprocess()+0x28 at qe_proc.cc:2344 (libhdbrskernel.so)
2: 0x00007fc7ef38c87c in ptime::RowInsertReproducibleJobNode::run(Execution::JobObject&)+0x58 at qe_proc.cc:2464 (libhdbrskernel.so)
3: 0x00007fc7fb143cd1 in Execution::JobObjectImpl::run(Execution::JobWorker*)+0x7f0 at JobExecutorImpl.cpp:843 (libhdbbasis.so)
4: 0x00007fc7fb152692 in Execution::JobWorker::runJob(ltt::smartptr_handle<Execution::JobObjectForHandle>&)+0x2e0 at JobExecutorThreads.cpp:205 (libhdbbasis.so)
5: 0x00007fc7fb1535e4 in Execution::JobWorker::run(void*&)+0x1a0 at JobExecutorThreads.cpp:370 (libhdbbasis.so)
6: 0x00007fc7fb18b769 in Execution::Thread::staticMainImp(void**)+0x875 at Thread.cpp:496 (libhdbbasis.so)
7: 0x00007fc7fb18c3cd in Execution::Thread::staticMain(void*)+0x39 at ThreadMain.cpp:26 (libhdbbasis.so)

Solution

2253121 – Memory Leak in Pool Pool/malloc/libhdbrskernel.so when Using Batch Inserts Into Rowstore Tables

Leave a Reply