Hi ,
When we are executing query it is running for longtime and throwing error like " out of memory " .
Can anyone help me out to come out of these performance issues.
Diagnosis file report:
ReportMemoryProblems.cpp(00728) : 3: 0x00007feebcc4d114 in operator new(unsigned long, ltt::auto_ptr_mem_ref const&, ltt::allocator&, unsigned long)+0x30 at handle_ref.cpp:321 (libhdblttbase.so)
[24552]{210431}[164/-1] 2014-01-16 13:35:35.179828 e Memory ReportMemoryProblems.cpp(00728) : Memory consumption information of last failing ProvideMemory, PM-INX=303735:
IPMM short info:
GLOBAL_ALLOCATION_LIMIT (GAL) = 412182642688b (383.87gb), SHARED_MEMORY = 7050400752b (6.56gb), CODE_SIZE = 6063321088b (5.64gb)
PID=24039 (hdbnameserver), PAL=487793664000, AB=1806524416, UA=0, U=1521692439, FSL=0
PID=24208 (hdbcompileserve), PAL=487793664000, AB=610267136, UA=0, U=416483741, FSL=0
PID=24204 (hdbpreprocessor), PAL=487793664000, AB=693010432, UA=0, U=406951118, FSL=0
PID=24239 (hdbstatisticsse), PAL=27099648000, AB=4799176704, UA=0, U=4012368600, FSL=0
PID=24235 (hdbindexserver), PAL=487793664000, AB=388322065424, UA=0, U=385033799793, FSL=0
PID=24243 (hdbxsengine), PAL=487793664000, AB=2837876736, UA=0, U=2356083608, FSL=0
Total allocated memory= 412182642688b (383.87gb)
Total used memory = 406861101139b (378.91gb)
Sum AB = 399068920848
Sum Used = 393747379299
Heap memory fragmentation: 1
Top allocators (ordered descending by inclusive_size_in_use).
1: / 385033799793b (358.58gb)
2: Pool 371459125881b (345.94gb)
3: Pool/parallel 145072207477b (135.10gb)
4: Pool/malloc 109300733987b (101.79gb)
5: Pool/parallel/ihm 79678480538b (74.20gb)
6: Pool/parallel/pop 44705892687b (41.63gb)
7: Pool/malloc/libhdbbasement.so 37660762786b (35.07gb)
8: Pool/JoinEvaluator 36624677240b (34.10gb)
9: Pool/JoinEvaluator/TranslationTable 36423665576b (33.92gb)
10: Pool/itab 36355157960b (33.85gb)
[28639]{443206}[12/-1] 2014-01-16 13:35:35.263558 e Memory ReportMemoryProblems.cpp(00728) : 1: 0x00007feed42d5c1c in MemoryManager::PoolAllocator::allocateNoThrowImpl(unsigned long, void const*)+0x2f8 at PoolAllocator.cpp:1052 (libhdbbasis.so)
[24552]{210431}[164/-1] 2014-01-16 13:35:35.179828 e Memory ReportMemoryProblems.cpp(00728) : 11: Pool/malloc/libhdbcscommon.so 33091339188b (30.81gb)
12: Pool/NameIdMapping 23100149631b (21.51gb)
13: Pool/NameIdMapping/RoDict 23100149567b (21.51gb)
[28653]{210431}[164/-1] 2014-01-16 13:35:35.260272 e Memory ReportMemoryProblems.cpp(00728) : 2: 0x00007feee1cb8d83 in ltt::allocator::allocate(unsigned long)+0x30 at memory.cpp:60 (libhdbbasement.so)
[24552]{210431}[164/-1] 2014-01-16 13:35:35.179828 e Memory ReportMemoryProblems.cpp(00728) : 14: Pool/malloc/libhdbcs.so 20784422934b (19.35gb)
15: Pool/malloc/libhdbcsapi.so 17266480604b (16.08gb)
16: AllocateOnlyAllocator-unlimited 13106367032b (12.20gb)
17: AllocateOnlyAllocator-unlimited/FLA-UL<3145728,1>/MemoryMapLevel2Blocks 12032409600b (11.20gb)
18: AllocateOnlyAllocator-unlimited/FLA-UL<3145728,1> 12032409600b (11.20gb)
19: Pool/AttributeEngine 11322418371b (10.54gb)
20: Pool/RowEngine 6054190496b (5.63gb)
Top allocators (ordered descending by exclusive_size_in_use).
1: Pool/parallel/ihm 79678480538b (74.20gb)
2: Pool/parallel/pop 44705892687b (41.63gb)
3: Pool/malloc/libhdbbasement.so 37660762786b (35.07gb)
4: Pool/JoinEvaluator/TranslationTable 36423665576b (33.92gb)
5: Pool/itab 36355157960b (33.85gb)
6: Pool/malloc/libhdbcscommon.so 33091339188b (30.81gb)
[28093]{214739}[253/-1] 2014-01-16 13:35:35.264356 w Memory PoolAllocator.cpp(01042) : Out of memory for Pool/parallel/ihm, size 1573247B, flags 0x0
[24552]{210431}[164/-1] 2014-01-16 13:35:35.179828 e Memory ReportMemoryProblems.cpp(00728) : 7: Pool/NameIdMapping/RoDict 23100149567b (21.51gb)
[28093]{214739}[253/-1] 2014-01-16 13:35:35.264370 e Memory ReportMemoryProblems.cpp(00728) : OUT OF MEMORY occurred.
Failed to allocate 1573247 byte.
Current callstack:
[24552]{210431}[164/-1] 2014-01-16 13:35:35.179828 e Memory ReportMemoryProblems.cpp(00728) : 8: Pool/malloc/libhdbcs.so 20784422934b (19.35gb)
9: Pool/parallel 20676664860b (19.25gb)
10: Pool/malloc/libhdbcsapi.so 17266480604b (16.08gb)
11: AllocateOnlyAllocator-unlimited/FLA-UL<3145728,1>/MemoryMapLevel2Blocks 12032409600b (11.20gb)
12: Pool/AttributeEngine 8578655272b (7.98gb)
13: Pool/RowEngine/QueryExecution 3787247016b (3.52gb)
14: Pool/AttributeEngine/idattribute 2642435816b (2.46gb)
15: Pool/UdivListMgr/UdivListContainer 1386095392b (1.29gb)
16: Pool/RowEngine/CpbTree 783576080b (747.27mb)
17: Pool/BitVector 629065136b (599.92mb)
18: AllocateOnlyAllocator-unlimited/FLA-UL<120,256>/BigBlockInfoAllocator 627086400b (598.03mb)
19: Pool/RowEngine/SQLPlan 626842216b (597.80mb)
20: Pool/RowEngine/LockTable 536879456b (512mb)
[28645]{214739}[253/-1] 2014-01-16 13:35:35.263911 e Memory
Best Regards,
Sridhar