Symptom
- An ABAP Dump in ST22 shows an uncaught exception error under 'Runtime Errors' (The ABAP Program and Application Component are considered generic here.)
Category ABAP programming error
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_SALV_STU_INTERNAL_ERROR
ABAP Program CL_SALV_IDA_QUERY_ENGINE======CP
Application Component BC-SRV-ALV
Date and Time 06.01.2023 21:36:21
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Short Text |
| An exception has occurred that was not caught. |
----------------------------------------------------------------------------------------------------
- Further sections in the dump reveal the uncaught exception was caused by memory exhaustion on the HANA Database platform :
----------------------------------------------------------------------------------------------------
|Error analysis |
| An exception has occurred in class "CX_SALV_STU_INTERNAL_ERROR". As this |
| exception was not |
| caught, a runtime error occurred. The reason for the exception |
| occurring was: |
| An internal error occured |
| |
| The exception is related to the previous exception "CX_SY_OPEN_SQL_DB" that |
| occurred in |
| program "CL_SALV_IDA_QUERY_ENGINE======CP", in line 10 of include |
| "CL_SALV_IDA_QUERY_ENGINE======CM01A". The reason for this exception |
| was: |
| The database registered an internal error. SQL code 4. The error text is: |
| cannot allocate enough memory: search table error: [9] Memory allocation |
| failed;exception 1000002: Allocation failed ; $size$=36088859840; |
| $name$=Results; $type$=pool; $inuse_count |
| |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Chain of Exception Objects |
----------------------------------------------------------------------------------------------------
|Level Class |
|Attrib. Name Value |
----------------------------------------------------------------------------------------------------
|1 CX_SALV_STU_INTERNAL_ERROR |
|(Program) CL_SALV_IDA_QUERY_ENGINE======CP |
|(Include) CL_SALV_IDA_QUERY_ENGINE======CM017 |
|(Row) 48 |
|(Short Text) An internal error occured |
|IS_RESUMABLE |
|KERNEL_ERRID |
|VIOLATED_CONDITION |
----------------------------------------------------------------------------------------------------
|2 CX_SY_OPEN_SQL_DB |
|(Program) CL_SALV_IDA_QUERY_ENGINE======CP |
|(Include) CL_SALV_IDA_QUERY_ENGINE======CM01A |
|(Row) 10 |
|(Short Text) The database registered an internal error. SQL code 4. The error |
| text is: cannot allocate enough memory: search table error: [9] |
| Memory allocation failed;exception 1000002: Allocation failed ; |
| $size$=36088859840; $name$=Results; $type$=pool; $inuse_count |
- No 'Database Interface Information' section exists in both the ABAP and sm21 dumps as would normally be expected, when the database layer is the root cause.
- SM21 shows the work process (in this example 291 ) has memory allocation failures with the uncaught exception :
Date TIME Instance Type Process No ÜB User Priority Message ID Message Text
06.01.2023 21:36:19 hostname BTC 291 100 User BYO Deadlock occurred
06.01.2023 21:36:19 hostname BTC 291 100 User BY4 Database error 4 with PRE access to table FGL_BCF_PROT
06.01.2023 21:36:19 hostname BTC 291 100 User BY0 > cannot allocate enough memory: search table error: [9]
06.01.2023 21:36:19 hostname BTC 291 100 User BY0 > Memory allocation failed;exception 1000002: Allocation faile
06.01.2023 21:36:19 hostname BTC 291 100 User BY0 > ; $size$=36088859840; $name$=Results; $type$=pool;
06.01.2023 21:36:19 hostname BTC 291 100 User BY0 > $inuse_count$=6; $allocated_size$=108478037712;
06.01.2023 21:36:19 hostname BTC 291 100 User BY0 > $alignment$=8; $failure_type$=STATEMENT_MEMORY_LIMIT;
06.01.2023 21:36:19 hostname BTC 291 100 User BY0 > $failure_flag$=
,Exception in executor
06.01.2023 21:36:19 hostname BTC 291 100 User BY0 > plan658913319@hostname:30040 while executing pop 248
06.01.2023 21:36:21 hostname BTC 291 100 User AB0 Runtime error "UNCAUGHT_EXCEPTION" occurred.
06.01.2023 21:36:21 hostname BTC 291 100 User AB1 > Short dump "230106 213621 hostname User" created.
06.01.2023 21:36:21 hostname BTC 291 100 User D01 Transaction canceled 00 671 ( UNCAUGHT_EXCEPTION 20230106213621hostname User 100 )
- No indexserver trace entries on the DB are covering this timestamp or any activity from the event however.
indexserver_hostname.port.000.trc
Read more...
Environment
SAP HANA, platform edition 2.0
SAP HANA, platform edition 1.0
Product
SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0
Keywords
KBA , HAN-DB , SAP HANA Database , HAN-DB-PERF , SAP HANA Database Performance , 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.