I am using Studio-X and I am using local system application in my automation, but in some reason after 40 repetitions the automation get’s slower and slower as it goes…
any idea how this occur?
My input mode in Use Application/Browser is - Simulate
It may be happens when the memory consumption for most of the runs the memory usage a lot. Check the task manager and see the percentage or memory used while executing. Check the temp files also it will get created when the application is running. It would be better to clear them as well may be in your process after some time you can do a kind of health check and free up the memory.
To clear the Temp files,
Go to run window (Windows+R) → Search for Temp and %Temp% also → Delete the files in the both of the folders.
There are several factors and it cannot be answered general. For sure the type of Application is also a key factor in the game.
For example: we had the case that the Bot was working fast / too fast for the App and stress it. So we reduced the speed, and balance it to a constant as max as possible performance
There several strategies:
Cleanings (as mentionent by Anil)
Speed / down / pausings
open/close cycles e.g. each 20th transaction
But also have another look at the selctors etc. as they are as sharp as possible be defined
You can observes the Task Manager to check any over comsumption in UiPath Robot or Target Application
Also you can add Log Message/Write Line after critical points like read excel file, searching for values etc to isolate which activity is takes to long to proceed
The same way, for troubleshooting purpose, you can add Start Timer Activity before suspect activity then log message/write line the Start Timer variable then observe the time take to proceed it
This way you can check if some activity is increasing the execution time over repitation