SAP Knowledge Base Article - Preview

2362883 - SQL message: Allocation failed $REASON$

Symptom

In transaction code ST22 you notice a dump like the one below:

----------------------------------------------------------------------------------------------------|Short Text                                                                                        ||    SQL error "SQL code: 1024" occurred while accessing table "TABLENAME".                        |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|What happened?                                                                                    ||    Database error text: "SQL message: Allocation failed $REASON$"                                |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|What can you do?                                                                                  ||    Note which actions and entries caused the error to occur.                                     ||                                                                                                  ||    Consult your SAP administrator.                                                               ||                                                                                                  ||    Using transaction ST22 for ABAP dump analysis, you can view, manage,                          ||    and retain termination messages for longer periods.                                           |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|Error analysis                                                                                    ||    An exception has occurred which is explained in more detail below. The                        ||    exception is assigned to class 'CX_SY_OPEN_SQL_DB' and was not caught in                      ||     procedure                                                                                    ||    "RSSM_RSMONMESS_READ" "(FUNCTION)", nor was it propagated by a RAISING clause.                ||    Since the caller of the procedure could not have anticipated this                             ||    exception, the current program was terminated.                                                ||    The reason for the exception is:                                                              ||    Database error text: SQL message: Allocation failed $REASON$                                  ||    Return value of the database layer: "SQL dbsl rc: 99"                                         |----------------------------------------------------------------------------------------------------


Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP HANA Platform 1.0
  • SAP HANA Platform 2.0

Product

SAP HANA, platform edition all versions

Keywords

allocate, oom, memory, error, dump, allocation failed , KBA , HAN-DB-ENG , SAP HANA DB Engines , 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.