Incremental increase in the RAM while looping through Read Pdf for multiple pdf files

I am using a for each loop to pick up multiple pdf files from temp directory and for each file using read pdf with OCR (Microsoft/Google cloud OCR) to read the pdf content for each file. All works well , but the problem is that there is an incremental increase on ram consumption with each cycle . I used the stand activity read pdf file still it consumes memory in loop.Any suggestion how this can be solved as after some time the 8GB system also hangs.

Appreciate any help

Hi @raju2035

Any chance you could show the entire process? Maybe it can be tweaked to release the resources.

Naturally, please provide Studio version and activity packages versions (and make sure you test it with the activity packages updated to the newest versions, maybe even the beta ones just to test).