Throws in parallel activity

Hi there,

Currently I’m working on a project where I use the Parallel activity when there is a chance that different errors can appear on the screen. If everything goes well I acomplish the condition that let me get out of the parallel flow, but if instead of this, any error appears. In the error sequence I throw the error to a try/catch where the parallel activity is contained. Is throw a “good practice” way to finish the activity parallel or maybe It is possible that I am letting open threads if I don’t acomplish the finishing condition of the parallel?

I’ts because since I use this activity I’ve had out of memory errors in my robots machines and I don’t know if It is because the activity is very memory demanding or because I am using it wrong.

Thank you very much in advance.

1 Like

Hi @pablopgf

I use a Parallel activity in a long time process, over than 7 hours.
There always occured a problem, that I can’t open any application, but the memory is normal, less than 50%, CPU is normal.
when I kill UIPATH.Execute.exe, Everything is OK.