I was thinking about estimating memory usage of a iSeries(RPGLE) program when it is invoked. I could be wrong but I came up with this. please share your thoughts, am I in the right direction ?
+T = O(m) + S(m) + R(m) + S(d1…n) + O(d1…n) + Misc+
O(m) – Object size of the Main program being invoked
S(m) – Static Storage of the Main Program being invoked (DSPPGM / DSPMOD DETAIL(*SIZE))
R (m) – Run time memory usage ex: IO / Disk into memory/ Paging
S(d1..n) – Recursive Static storage of nth level dependent Service programs
O(d1..n) – Recursive Object size of nth level dependent Service programs
Misc - Unknown stuff that OS might use up.
Thanks in Advance
This topic has been locked.
1 reply Latest Post - 2012-03-12T09:48:54Z by Prithiviraj
Pinned topic How to estimate the amount of memory a RPGLE program will use roughly ?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-03-12T09:48:54Z at 2012-03-12T09:48:54Z by Prithiviraj
Prithiviraj 270001CEBX60 Posts