I am trying to build an app with electron. When I do this, however, it appears that several chrome processes are created that don’t shut down after closing electron. These processes eat up a lot of memory that slow down my computer. Most of the processes are called something like
chrome --type=renderer --field-trial-handle=....
They occur even when I try to run the electron quick start app. I cannot figure out a way to stop these processes besides restarting the computer.
Here is a screenshot of these processes from my system monitor:
This is what happens when I try to end the process. Some sort of weird non-functioning dialogue box pops up:
There might be a couple of reasons for this.
You can try disabling the 'background apps' - In Chrome Settings, click on the 'Advanced' button in the navigation menu on the left. Under 'System' uncheck
Continue running background apps when Google Chrome is closed
You can also try to clear the Cache. On Ubuntu-based systems, it is located in
on Windows it is usually under
As noted here, you can open the Chrome Task Manager to check which tabs consume the most CPU/Memory.
Answered by egelev on January 6, 2022
It is not caused by Electron. I was searching for what they were doing consuming my memory when I ran across your question. But I am not using or even have Electron installed. I instead run Brave browser which is built upon chromium. So this must be some chrome shit. I am new to this too.
Answered by swatantra on January 6, 2022
2 Asked on January 22, 2021 by gevra
0 Asked on January 22, 2021 by richard-boekamp
2 Asked on January 21, 2021 by goelakash
3 Asked on January 21, 2021 by b264
1 Asked on January 20, 2021 by isagalaev
43 Asked on January 20, 2021 by fer1805
0 Asked on January 20, 2021 by ujjwal-gupta
0 Asked on January 19, 2021 by pablob
0 Asked on January 19, 2021 by poutingcavity
2 Asked on January 19, 2021 by user2662920
1 Asked on January 19, 2021 by balab
1 Asked on January 19, 2021 by muhammad-asraf-ahmed-imon
1 Asked on January 19, 2021 by kairocks2002
4 Asked on January 19, 2021 by rahul-singh
1 Asked on January 18, 2021 by joe-cola
3 Asked on January 18, 2021 by eranga-kapukotuwa
0 Asked on January 18, 2021 by jw1294
8 Asked on January 18, 2021 by benjamin-piller
Get help from others!