How much Memory Space has been taken by a program to get executed?

Hi Everybody,
I want to know if there is a way to get the space a program takes to get executed. Is this something depending on r-code size or something else. Can anyone help me out?

Thanks in advance.
 
It's complicated. There is no simple and definitive answer.

It may, however, be useful to understand how the -mmax buffer is allocated and used. Aside from the documentation itself you might want to read Tuning -mmax, it's an old article but still true.
 
There is a column called 'Load Size' in proc.mon (-yx parameter), but I don't know without experiment if that is in-memory execution size, or .r related.

If you are on Windows, Process Explorer will tell you a lot about Prowin32.exe for free, alternatively you can just monitor via CTRL-ALT-DEL > Task List > Mem Usage.

eg. if Prowin32 is the parent of your progress app, when you call or exit a subprogram, you will notice the memory usage change.
 
Back
Top