1. Does the Process data persists on the robot memory even after a process execution is completed? 2. Does Garbage collection cleanup happens during the execution or when the process execution ends?
Issue: From the security/ audit points of consideration, does the UiPath Robot store process data in its memory even after the process execution is completed.
Resolution: Robots only store data in RAM (Random Access Memory) unless the developer tells the Robot specifically to store data as an Activity. The type of data that Robot utilizes, is also based on how it has been designed.
Workflows run in a separate process, UiPath.Executor.exe. Each time a process gets executed, the Executor starts and stops when the process ends.
When an automation stops either because of Completion or Error, the process memory is cleared and garbage cleanup is commenced automatically.