Skip to Content
avatar image
Former Member

Deletion of record from internal table and memory dump

Hi All,

I have a statement which looks like below in one of Z programs.

delete lt_table index lv_index.

This program runs in background for long and it is giving a memory allocation dump.When i checked the dump , system displays that the above line is causing the dump. I understand when we try to insert something into a table then memory dump would come , but what would cause a delete statement to give a memory dump('TSV_TNEW_PAGE_ALLOC_FAILED') ? If something was with lv_index it should have been a overflow dump not a memory allocation dump. Can any one help me in understanding what would cause this dump.

Thanks and Regards

Dushyanth .

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Feb 16, 2017 at 04:57 PM

    There can be several reasons. One might be that the internal table was shared after an assignment or parameter passing and that deleting a line ends the sharing and the table is physically copied.

    Or, less probable, some lazy or delayed internal administration costs for secondary keys.


    Add comment
    10|10000 characters needed characters exceeded

  • Feb 16, 2017 at 08:24 PM

    Google -> TSV_TNEW_PAGE_ALLOC_FAILED -> 1000+ results

    There are many posts explaining that the statement that immediately precedes the memory short dumps is not always the main culprit.

    There are tools available in SAP for memory analysis. Kindly make some effort to troubleshoot in your system.

    Add comment
    10|10000 characters needed characters exceeded