Background chrome application taking more space

Hi all,
I used kill process where chrome application is killing that is working where as some processes of chrome will be running how to end those processes using UiPath,
I faced recently issue with cpu utilize it is reaching 100% without doing anything
I know through task manager we can close those processes but is their any way out using UiPath please let me know it would be helpful

I was experiencing the same issue and i used invoke code try this

Dim procs() As Process
procs = Process.GetProcessesByName(“chrome”)
For Each p As Process In procs
Try
p.Kill()
Catch ex As Exception
End Try
Next

Cheers

1 Like

Let me try bhavesh thanks for your inputs

1 Like

@vhvinodsai,

Kill process configured like this should kill all instances of chrome.

If possible try sharing the screenshot of all the processes which are not getting killed.

@vhvinodsai

Background chrome might be of different users as well…so in kill process use applied to field select ALL

cheers

Hello @vhvinodsai

Use UiPath’s “Kill Process” activity and set the ProcessName to “chrome” not “chrome.exe”. This will forcefully close all running Chrome application.

No Need of Invoke code or any Another activity.

Regards,
Rajesh Rane

1 Like

Hi @ashokkarale

Here issue is cpu is getting utilised bcz of chrome it is coming to 100% everytime many chrome applications are being running in background after killing processes too.

Hi @Anil_G
Users are same only but memory utilisation is on higher side due to that bot is dropping in mid
Here the catch is bot is running since 1 year suddenly this issue arised memory and cpu reaches to 100%

Many chrome applications are running in background is their any findings that end the chrome task automatically

Manually whenever I used to end the chrome task using task manager then it is coming back to normal

@vhvinodsai

Can you check from when they are open and all..ideally nothing would be open liek that

Few considerations are to check and clean nuget folder and temporary files

Cheers

1 Like

Can you open Task Manager → Processes and observe who is using most of the CPU while you are running the automation with Chrome or not?

After finding, try to close them manually and observe the CPU usage if decreased or not.

In one of the customer’s environments, which I recently supported, their Microsoft OneDrive consumed more than 45% non-stop. The rest of CPU was consumed by third-party security tools, and they left only less than 1 GB RAM for any other process to run.

You need to have these resources at least:

Intel x64: 4 cores x 2.4GHz 64-bit
8 GB RAM available

Reference Robot - Hardware and software requirements

1 Like