Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1690015000/6b1305da-17ce-420c-a8bd-54bd28b109f1.jpg?itok=xsu8cXrx)
Bank of America
US
Last activity: 11 Jun 2018 9:05 EDT
Query on Memory release for Obj-Open in loop
Hi All,
I need to understand one scenario. Any suggestion will be helpful.
We are using an activity as below -
Step 1 : Brose some cases
Step 2.0: Loop for each case browsed in Step 1
Step 2.1: Open the case in a step page 'WorkPage' via Obj-Open-By-handle method (i.e. getting the BLOB in clipboard)
Step 2.2: Update the case and save and commit
Step 3: Clean up the Step Page 'WorkPage'
Note - So, the step Page 'WorkPage' is not being removed in loop after each and every execution. Rather it's being removed at the end.
Assume there was 5 cases browsed at Step 1 and each case is having size as 1 MB.
The question is after the Step 2 is completed, how much memory will be consumed by the execution? will it be 1 MB as during each 'Obj-Open-By-Handle' at step 2.1 the content/memory for previous opened case will be cleaned up ? or the memory size after step will be 5*1=5 MB
Thanks in advance,
Rajsekhar