Community Chat

 View Only
last person joined: 4 days ago 

A space for discussion around the Community site and programs.

Expand all | Collapse all

Blue Prism Performance issues

  • 1.  Blue Prism Performance issues

    Posted 08-01-2023 16:02

    Good day Team, Trust you are all well.

    Lately we have been experiencing very slow performance on our BPC and even some Client-side setups.

    We are using BP version 7.1

    We have created tickets with BPC support who are also investigating.

    Noticeable Symptoms:

    Microsoft Edge is very heavy on the CPU usage. We have tried to configure the settings to achieve maximum performance, but then every time there is an upgrade, we lose all our settings again.

    The entire VM periodically freezes to such an extent that it becomes very difficult to dev on the machines.

    which don't seem to respond every now and again.

    We also find a lot of windows updates happening.

    We are also not sure whether the high CPU usage is in fact the issue.

    My Question: Is anyone else also experiencing this and are there any solutions that we can try to improve the performance.

    Kind regards

    Gavin



    ------------------------------
    Gavin Rudling
    Digital Consultant & Developer
    Cog3nt
    Africa/Johannesburg
    0813906789
    ------------------------------


  • 2.  RE: Blue Prism Performance issues

    Posted 08-02-2023 07:48

    Hi Gavin,

    Good day, from your message I can infer that browser (Edge/Chrome) having multiple instances when seen in the task manager. Try using the following methods which might reduce the background windows running leading to decrease in usage of CPU memory.

    • Clear the cache of the browser using a script right at the start of the process. Create a batch file during process runtime and write the following code in to that .bat file.
      • "@echo off"&NewLine()&
        "set Dir=C:\Users\%USERNAME%\"&[Your_Browser_Cache_Folder_Path]&NewLine()&
        "del /q /s /f ""%Dir%"""&NewLine()&
        "rd /s /q ""%Dir%"""

    Generally cache files resides at

    For Edge ---AppData\Local\Microsoft\Edge\User Data\Default\Cache

    For Chrome ---- AppData\Local\Google\Chrome\User Data\Default\Cache

    This is the path that is to be passed as parameter value --[Your_Browser_Cache_Folder_Path]. Once the .bat file is appended with this code using Utility - Environment --> Run Process until completed action run the batch file. Once this bat file is run you can delete this.

    • Try handling restore pop-up this will kill the intermittent windows that running in the background which is making the browser heavy leading to memory issue.



    ------------------------------
    Babjee Vangipurapu
    Senior RPA Developer
    Wonderbotz
    India
    ------------------------------



  • 3.  RE: Blue Prism Performance issues

    Posted 08-02-2023 09:08

    Thank you for your advice Babjee, much appreciated.

    I will give it a try and feedback.

     

    Kind regards

    Gavin

     






  • 4.  RE: Blue Prism Performance issues

    Posted 08-02-2023 09:36

    Hi Babjee,

     

    Are you able to provide your method of how you are calling and executing the Batchfile with Blue Prism?

     

    Kind Regards

    Gavin

     






  • 5.  RE: Blue Prism Performance issues

    Posted 08-02-2023 11:42

    Hi Gavin,

    First you need to create and write data into a file using Blueprism by using Utility - File Management-->Write text to file action then your bat file will be ready with the code. You can then run the bat file. Just replace the Text with the code that I've provided.



    ------------------------------
    Babjee Vangipurapu
    Senior RPA Developer
    Wonderbotz
    India
    ------------------------------



  • 6.  RE: Blue Prism Performance issues

    Posted 08-02-2023 12:40

    Thank you Babjee, I think its working. Much appreciated and thanks for responding.

     






  • 7.  RE: Blue Prism Performance issues

    Posted 08-02-2023 15:54

    Sticking with clearing cache as a solution, you could create a single flow using Utility - File Management --> Delete Directory that deletes the cache directories as these are recreated automatically when the applications are loaded. For example, my solution was to create a simple object wrapper with 3 steps:

    1. Get the current username (Utility - Environment-->Get current username)
    2. Delete the directory for Chrome, C:\Users\[UserName]\AppData\Local\Google\Chrome\User Data\Default\Cache (Utility - File Management --> Delete Directory)
    3. Delete the directory for Edge, C:\Users\[UserName]\AppData\Local\Microsoft\Edge\User Data\Default\Cache (Utility - File Management --> Delete Directory)

    If you wanted to be thorough, you could also use an action to re-create the folder, but this is created by Edge/Chrome automatically when the application is opened. Therefore I didn't bother with that.



    ------------------------------
    John Wilding
    Robotic Architect
    ReAssure Ltd
    Europe/London
    ------------------------------



  • 8.  RE: Blue Prism Performance issues

    Posted 08-02-2023 16:02

    Hi John, Thanks for your response and advice, much appreciated.

    I have set up an action to clear the cache and I will test this to see if it resolves our CPU usage issues.

     

    Thank you kindly

    Regards

    Gavin

     






  • 9.  RE: Blue Prism Performance issues

    Posted 08-03-2023 13:29

    Out of curiosity, is there anything else going on in task manager that could be compounding the issue? Could there be something else causing slowness (e.g. windows updates/delivery optimisation, virus scans, firewall rules etc).



    ------------------------------
    John Wilding
    Robotic Architect
    ReAssure Ltd
    Europe/London
    ------------------------------



  • 10.  RE: Blue Prism Performance issues

    Posted 08-03-2023 14:25

    Yes, John almost everything you mentioned there are listed in the task manager.

    We have tried to lower some of the priorities on the tasks.

    This also seems to vary or fluctuate. For a few hours or even a day or so, everything seems to be fine. Then all of a sudden, we back dealing with issues again.

    Generally, we start getting a lot of browser extension errors, then visible delays and performance, where even navigating around the environment without processes running becomes noticeable. This also seems to run over many and various VM's and we start getting complaints from multiple developers of the same thing. So its not isolated to a single process or even a VM.

     

    Kind regards

    Gavin

     






  • 11.  RE: Blue Prism Performance issues

    Posted 08-04-2023 13:06

    Hi Gavin,

    Can you please check your Blue prism DB if this is packed with logs try flushing a few and check the performance of launch. CPU & memory usage hikes are likely to be caused by long loading times, unexpected crashes of an application. I suspect BP is getting hanged as the number of DB hits by the users count is high or it might be overloaded with data, try doing a maintenance on DB it might help speeding up BP performance.

    Note: Please have a backup of the DB before you do the maintenance of it.

    Hope this helps...



    ------------------------------
    Babjee Vangipurapu
    Senior RPA Developer
    Wonderbotz
    India
    ------------------------------



Welcome to our 'Off-Topic' Community Chat!

A space for non-technical chat, tips for using the Community, and news from the Blue Prism Community Team.

This is not a Community for technical or Product related discussion. For a list of available communities, please visit our site map.

Introduce YourselfCommunity Tech TipsMeet The Team