Score:0

To many process running for chrome and code on ubuntu 20

ng flag

I'm using chrome and VSCode and my system is hanged after sometime and CPU usage will be above 100%.

My Machine is having 8 GB of RAM and 128 GB of SSD, yet it is hanging and i need to restart.

I have checked the process using ps -ef and got to know too many process running for chrome and code.

Can anyone explain me the problem and what will be the solution for it.

enter image description here

enter image description here

guiverc avatar
cn flag
Your title implies you're using a *snap* only Ubuntu product like Ubuntu Core 20, however your tag says 20.04 which is a different product. Please clarify (Ubuntu has had *year* releases since 2016 which are different products).
pLumo avatar
in flag
Many processes don't mean anything. As Chrome creates sandboxes for its tasks, this is just normal and is not an issue. I doubt that "VSCode and Chrome create many processes" and "my system hangs after some time" are related. See `top` or `htop` to identify the process(es) that cause the problems.
shiva avatar
ng flag
I had run this command "top" and when i use Vscode for coding, code cpu uses is like more than 150%, I don't know the reason and system is hanging after some time
pLumo avatar
in flag
Which CPU? 100% is one core. So if you have 8 cores for example, 150% is also not of a problem. Is that for short times or constantly? If constantly, try to check your extensions. However, I also get high CPU load with VSCodium at least when doing stuff. Seems normal, and I have no issues. If you have a low-end CPU you might want to try other code editors, VSCode is probably quite performance-hungry. But as far as I remember, Atom was even worse.
FedKad avatar
cn flag
Please check memory usage too.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.