SAP Knowledge Base Article - Preview

3291876 - ACM_UNEXPECTED_VALUE Runtime Error dump because of memory allocation failure

Symptom

  • An ABAP Dump occurs for this program with the following reason under the Short Text : "The ACM runtime has returned an unexpected value."
Category               ABAP programming error
Runtime Errors         ACM_UNEXPECTED_VALUE
ABAP Program           CL_APS_COM_CA_CONN_ADAPTER====CP
Application Component  BC-SRV-APS-COM
Date and Time          12/14/2022 14:46:26 (UTC)
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Short Text                                                                                        |
|    The ACM runtime has returned an unexpected value.                                             |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What happened?                                                                                    |
|    During execution of an Open SQL select, the runtime of the                                    |
|    authorization check returned the unexpected value "SELECT FROM                                |
|     ACMRT_RES_LOGEXP (OPEN): Error 1 (DBRS_RC_SQL_ERROR), SQL Error Code = 129,                  |
|     SQL Message = transaction rolled back by an internal error:                                  |
|     AttributeStoreFile error while deserializing from file '<UT Main Column                      |
|     Reader>':... (--> 'Internal Notes')".                                                        |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Error Analysis                                                                                    |
|    Use SAP Note 2165677 to check for inconsistencies in the authorization                        |
|    definitions.                                                                                  |
----------------------------------------------------------------------------------------------------


 

  • No "database interface information" section is found in the ABAP dump however.

 

  • indexserver traces reveal memory pressure at the time and a subsequent out of memory failure when the request (ACMRT_RES_LOGEXP) tries to allocate more memory :
[34992]\{324623\}[99/-1] 2022-12-14 14:46:18.229721 i TraceContext     TraceContext.cpp(01269) : UserName=SAPHANADB, ApplicationUserName=SAP_SYSTEM, ApplicationName=ABAP:SID, ApplicationSource=CL_APS_COM_CA_CONN_ADAPTER====CP:2210, Client=100, StatementHash=c7eb06add88fe5b010d790d58f071ebe, EppRootContextId=48DF376137601EDB83AD1B03BFE43C4C, EppTransactionId=6D4E39EAF0D60510E006398AB2C37947, EppConnectionId=00000000000000000000000000000000, EppConnectionCounter=0, EppComponentName=000000000741480713, EppAction=APS_COM_CA_EXEC_IDOC, StatementExecutionID=844439257243145
[34992]\{324623\}[99/-1] 2022-12-14 14:46:18.229703 w Memory           mmPoolAllocator.cpp(01231) : Out of memory for Pool/PersistenceManager/PersistentSpace/DefaultLPA/DataPage, size 65536B, alignment=4096B, flags 0x0, reason GLOBAL_ALLOCATION_LIMIT (early exit)

....

[34992]\{324623\}[99/-1] 2022-12-14 14:46:18.852238 e attributes       SingleAttributeDef.h(01655) : load failed: exception  1: no.6946  (AttributeEngine/AttributeStoreFile.h:395) TID: 34992
[34992]\{324623\}[99/-1] 2022-12-14 14:46:18.852469 e attributes       AttributeValueContainer.cpp(02909) : load failed for attribute: SAPHANADB:ACMRTCOLUMN#3.RTCOND_ID: exception  1: no.6946  (AttributeEngine/AttributeStoreFile.h:395) TID: 34992
[34992]\{324623\}[-1/-1] 2022-12-14 14:46:18.853532 e OOM_Notification Statement.cc(04599) : oom exception occurred at 'hostname:30203': conn_id=324623, stmt_id=1394248476546304, stmt_hash=c7eb06add88fe5b010d790d58f071ebe, sql=SELECT "ACMRTCOLUMN_ID" , "FUNCTIONAL_GRANT" , "SEQUENCEPOS" , "LOGIC_OPER" , "ARITY" , "QUANTIFIER" , "COMP_OPER" , "ASPECT_TYPE" , "ASPECT_ID" , "COLUMNPOS" , "VALUE_LITERAL" ,
"VALUE_LITERAL_TO" , "ESCAPE_CHARACTER" , "COLMAP_CTE_ID" , "COLMAP_CTE_NAME" , "COLMAP_CTE_FIELDNAME" , "COLUMN_CANON_OSQL" , "COLUMN_CANON_OSQL_EXTUSE" , "COLUMN_CANON_OSQL_EXTENT" , "COLNAME_TYPE" , "ENTITY_PARAMNAME" , "SESSIONVAR_NAME" , "LITERAL_LEFTSIDE" , "BYPASS_OPERATOR" , "OPTIONAL_ELEMENT_OPERATOR" , "DCLFUNCTION_NAME" , "ACMCTECOLNAME_ID" , "ASPECT_FILTER" , "ASPECT_FILTER_EXTUSE" ,
"ASPECT_FILTER_EXTENT" , "PROTECTED_ELEMENT" , "EXCEPTION_LABELS_BITMASK" , "CONDITION_TYPE" , "ACCONDRTINH_ID" FROM "ACMRT_RES_LOGEXP" WHERE "ACM_RESOTYPE" = ? AND "ACM_RESOURCE" = ? AND "ACM_OPERATION" = ?  WITH RANGE_RESTRICTION('CURRENT')
[34992]\{324623\}[-1/-1] 2022-12-14 14:46:18.853653 e EmbeddedAPI      EAPICommon.cc(00153) : [SQL-129] unexpected exception at handlelttException_: exception=exception  1: no.6946  (AttributeEngine/AttributeStoreFile.h:395) TID: 34992
[34992]\{324623\}[-1/-1] 2022-12-14 14:46:18.853757 e EmbeddedAPI      Connection.cc(00464) : exception  1: no.6946  (AttributeEngine/AttributeStoreFile.h:395) TID: 34992




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-ENG , SAP HANA DB Engines , 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.