Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome tabs and processes

I was reading googlebooks on chrome, where they talk about why they decided to spin up a process to host browser tab, every time you created a new tab.' So

2 tabs = 2 chrome processes

3 tabs = 3 chrome processes and so on .. right??

But i opened up some 20 or so tabs, but in task manager, i could only find 3 chrome processes..

What is going on??

I was taught that creating a process is an expensive proposition in terms of resources needed, and there are other light weight options available (like app domains in .net for ex).. So is chrome taking some hybrid approach?? Create few processes and then start hosting additional tabs inside those limited set of processes??

like image 738
kudlur Avatar asked Dec 31 '22 11:12

kudlur


1 Answers

it's being hosted in the first process. open up chrome. you'll see 2 processes (manager and initial tab). then open 10 more tabs, you'll notice the second process's memory jump a lot. then type in google.com or something into the first tab, and you'll see a new process get spawned.

also notice, if you do shift+esc and brink up the task manager in chrome, all those tabs will be grouped together, one w/ memory, the others without.

like image 137
Darren Kopp Avatar answered Feb 19 '23 18:02

Darren Kopp