Online Tutorials & Training Materials | STechies.com
Register Login

BAPI_PROJECT_GETINFO causes MEMORY_NO_MORE_PAGING Dump

|| || 2

BAPI_PROJECT_GETINFO causes MEMORY_NO_MORE_PAGING Dump
Stechies

Hi SAP Experts,

I am getting a Short dump MEMORY_NO_MORE_PAGING when using BAPI_PROJECT_GETINFO.

A short text generated as follows:

SAP Paging overflow when storing data in the ABAP memory.

The issue can be re-generated by following:

  • Run a program BAPI_PROJECT_GETINFO.
  • Now this BAPI calls a report BAPI_PROJECT_GETINFO_SELECT.
  • You will notice that memory will get exhausted which will lead to a short dump MEMORY_NO_MORE_PAGING.‚Äč


Comments

  • Sonia Barwar
    01 Nov 2016 2:49 pm Best Answer

    In order to resolve this issue please free all the memory ID's of the logical database in PS by using the code in your program: CALL FUNCTION 'CJDB_FREE_MEMORY_LDB_PSJ' before calling BAPI_PROJECT_GETINFO'.

     

  • 01 Nov 2016 2:50 pm Helpful Answer

    The dump is caused because every time the BAPI run in a loop the memory ID SAPDBPSJ STORED_OBJS gets incremented which lead to memory being exhausted.