on 11-17-2009 12:06 PM
Hi all,
i have a table let's say with 5.000.000 records, now i loop over all records and before endloop i delete the processed row from the table so on the end the table will be empty.
Does the abap processor keep still the reserved initial size for this table until i make a free table on it ?
Or does the reserved size shrik if i delete an amaount out of this internal table ?
Thx!
Hello,
Deleting or refreshing from internal tables will not free memory.
The only command that does the job is the FREE command.
Extract from the SAP help :
For internal tables, FREE has the same effect as the REFRESH statement, though the entire memory area occupied by the table rows is released, and the initial memory area remains unoccupied. If dobj is a structure with table-like components, the memory of each table-like component is released.
Success.
Wim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.