2017 Feb 16 4:11 PM - edited 2024 Jan 21 9:52 PM
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 .
2017 Feb 16 4: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.
See http://help-legacy.sap.com/abapdocu_751/en/index.htm?file=abensharing_glosry.htm
2017 Feb 16 4: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.
See http://help-legacy.sap.com/abapdocu_751/en/index.htm?file=abensharing_glosry.htm
2017 Feb 16 8:24 PM
Google -> TSV_TNEW_PAGE_ALLOC_FAILED site:sap.com -> 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.