‎2010 Jul 22 5:47 PM
Hi All,
Here' s a general question. While running debug - there are some special tools. In special tools I select Memory Analysis.
There is memory sizes displayed. What exactly are they referencing? Will this help me to determine the problem when there is a short dump due to memory problems?
I am looking for an explaination of the following?
Allocated?
Used?
At a guess: Is this the memory that is allocated based upon the need in the program - used memory - when it gets high enough is changed to allocated memory? I'm confused.
I have tried the following links - they confused me more.
http://help.sap.com/saphelp_nw04/helpdata/en/7a/caa6f6bfdb11d188b30000e83539c3/frameset.htm
Thank you for your help!
Michelle
‎2010 Jul 22 6:06 PM
Hi Michelle,
yes, this tool will help you with memory analysis in case of memory problems.
On the initial view you can see
allocated, that is the memory that is allocated to your program.
used, that is the memory that is actually used.
The ABAP program allocates memory in blocks which are e.g. 4 MB in size (depends on paramter em/blocksize_KB).
The variables and internatl tables and objects are stored in these blocks. If you have an internal table with 2 MB youl will see
4MB allocated (you can't allocate less) and 2MB (+ some overhead) used.
If you click on the small button that shows 3 squares and 1 cicrle you will get a list of the biggest objects using the "used memory".
Hope this helps,
Hermann
‎2010 Jul 22 6:06 PM
Hi Michelle,
yes, this tool will help you with memory analysis in case of memory problems.
On the initial view you can see
allocated, that is the memory that is allocated to your program.
used, that is the memory that is actually used.
The ABAP program allocates memory in blocks which are e.g. 4 MB in size (depends on paramter em/blocksize_KB).
The variables and internatl tables and objects are stored in these blocks. If you have an internal table with 2 MB youl will see
4MB allocated (you can't allocate less) and 2MB (+ some overhead) used.
If you click on the small button that shows 3 squares and 1 cicrle you will get a list of the biggest objects using the "used memory".
Hope this helps,
Hermann
‎2010 Jul 22 6:31 PM