High CPU Utilization

Please note: We will shut down the Helpdesk soon. Please update your releases to Hyland RPA 22.2. To view the latest documentation for Hyland RPA 22.2 release visit Hyland Docs.

Some activities utilize all available CPU Cores (e.g. OCR), which might lead to conflicts when other performance-intensive background tasks are running. In order to limit the CPU utilization of the activities, you can do the following

1. Place the Invoke VB Code Activity before your OCR Activity, preferably right at the start of your process.

mceclip0.png

2. Click Edit Code and insert the following code:   System.Diagnostics.Process.GetCurrentProcess().ProcessorAffinity = New IntPtr(5)

mceclip1.png

This code sets the CPU affinity of the process to the first and third core, so that the process does not uitilize all CPU cores and background tasks performance is not affected.

Was this article helpful?
0 out of 0 found this helpful