Skip to Content
Former Member
Jan 05, 2008 at 12:17 PM



Hi guys. Does anyone know why I can not use, or is not recomended to not use "free memory" command without the "ID" ? Do you have any example of why can I not simple use "Free memory" ?. I have a large program (large indeed...)that creates several internal tables, nore of them liberates memory after it finishes and when the user executes several options of the program and gets back and executes again, (WITHOUT leaving the transaction), then by transaction SM04 you can see how the memory gets bigger. I started using "free..internal table" (when I see that an internal table with data will not be used any more along the program) then the memory gets smaller after each execution, but not smaller enough for the Basis team. So instead of using free "internal table" for each table used in the program (it has too much ...internal talbes ) then I wanted to use just FREE MEMORY at the end of the program, instead of FREE MEMORY ID id. Does anyone have a practical example of why is not recomended to use only FREE MEMORY. Somewhere I saw the following: " You should refrain from using FREE MEMORY without the addition ID, since in this case all clusters are involved"- The question is: I do not understand the impact of all clusters being involved. Do you have an explanation about the impact ?

Edited by: Eduardo Giribaldi on Jan 5, 2008 1:21 PM