Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

getting memory usage details in ABAP program

Former Member
0 Likes
470

Hello,

Is there any method to get the memory used by the program and control the program like restricting the memory usage to some limit or any other control measures which can be taken in the program itself if the memory usage by the program exceeds a maximum limit. Or kindly let me know where i can find the details.

1 REPLY 1
Read only

HermannGahm
Product and Topic Expert
Product and Topic Expert
0 Likes
407

Hi,

> Is there any method to get the memory used by the program

investigate the methods of class cl_abap_memory_utilities (e.g. GET_TOTAL_USED_SIZE)

>and control the program like restricting the memory usage to some limit

report rsmemory can change the systemwide quotas

>or any other control measures which can be taken in the program itself if the memory

>usage by the program exceeds a maximum limit

needs to be implemented manually if neede program specific...

Kind regards,

Hermann