I am facing an interesting error with an automation which I’ve developed. This automation handles a few thousands PDF documents (with random page numbers and content), reads the data in them, splits all of their pages, renames and moves them to a different directory. Pretty easy
steps, the processing speed is high: around 20-40 pages per second are read and processed.
The problem with this automation arises when I leave it running more than 15-20 minutes because it slows down. A LOT. From an initial speed (average) of 30 pages per second, it will slow down to about 0.5-1 pages/second after 2 hours.
I can’t figure out why this happens. The RAM consumption stays the same, so this isn’t about temporary storing data in RAM. Assistant and Studio both take around 10% of the processing power when this process is running. I deleted the UiPath temp files and nothing changes.
11 000 documents → 30 pages/second in the beginning
3500 documents left → speed drops to 0.5-1 pages/second
But wait, there’s more. Remember that speed of 0.5-1 pages per second after 2 hours? If I stop the robot execution and turn in back on it will start processing the documents with the initial speed of 30 pages per second. I don’t know how, I don’t know what this means and why it works this way.
I would appreciate if you could give me an idea to why this issue arises and how can I find a workaround.
Thank you and have a great week-end!