Automation gets slower the more repetitions it runs

Hi Robot Masters,

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

@flashdrive07

That might be because of an increased cache fill…

If you are storing any info and all try to clear them…thats the only way

Or interimly delete the temp files

Cheers

Hi @flashdrive07

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.

Hope it helps!!

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

so instead of maximizing the speed of the bot i should balance it ??

yes I already cleared the temp. and also close other apps…
but same result…

in a first round we recommend to look for patterns (when it becomes slow) and environment (CPU, RAM…)

Once more insights are found, then depending on the situation we can check for next steps.

we dont know the details, used technologies…So, our feedback is more general

Hi @flashdrive07

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

image

This way you can check if some activity is increasing the execution time over repitation

I already fix this guys… thank you all for your support…

What I did is divide the excel data into 5 excel files… so from 5hrs bot process… now it’s 1:30 minutes run time…

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.