Question
5
Replies
177
Views
RBC
Posted: June 6, 2017
Last activity: June 8, 2017
Closed
Robotics: CustomUI Freezes from time to time (performance issue)
Hi everyone,
We built a custom UI as the hub launching various automations. Our users provided feedback that the custom UI freezes from time to time.
Just wondering, how can we improve that?
Note, users are using 4GB RAM PC and we built the automations as efficient as we can.
We would need more information on what is freezing and what is happening when that happens. Was the UI built using Pega Robotics Studio, or it it your own custom component you are using? You would likely need to enable Runtime logging to determine what is happening when it freezes. I would also ask the users to identify which specific steps they were executing at the time. You might be able to reproduce the issue which would make it easier to troubleshoot.
One common thing that is reported as a freeze is when you are executing automations off of your UI synchronously (meaning in the same thread). This makes your UI unresponsive until the thread completes. Make sure all of your links off of your UI are asynchonous (i.e. dotted lines).
Another common method of freezing your UI can happen when you have DataGrids and are not updating them off of the UI thread. This requires a posting of its own to explain, but if you do have DataGrids, let me know and I can provide some direction on easy ways to ensure they are only updated on the UI thread.