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