Change Google Chrome’s Process model?

13

2

Does anyone know how to stop Chrome doing this?

enter image description here

Chrome seems to group all tabs I open through the same page into one process. If I copy and paste the links individually into separate tabs, it creates new processes, but when I just middle click links, it groups them into one.

I want to force Chrome to create a new process for every tab because when one page locks up, it freezes pretty much all the tabs I have open and if one of the tabs crashes, it takes the rest with it. You can apparently alter Chrome's process model to one called "--process-per-tab" which seems to be what I'm looking for, but when I try and open Chrome with this argument via the terminal, it doesn't work. It's likely I'm not using the correct command; what I tried was:

/Applications/"Google Chrome.app"/Contents/MacOS/"Google Chrome" --process-per-tab

I'm on OS X and using the latest dev build 5.0.396.0.

user36639

Posted 2010-05-09T21:41:59.573

Reputation:

Answers

2

open /Applications/Google\ Chrome.app --args --process-per-tab

ta.speot.is

Posted 2010-05-09T21:41:59.573

Reputation: 13 727

0

Single process

To use this mode, open Chrome's properties in the Start menu and add the string '-single-process' (without the quotes) to the end of the Target box. Now, no matter how many tabs you open, the browser will use just one process. 1

Single process per site

If you add the string '-process-per-site' to the Target line, Chrome will open a new process for each tab, but if you open the same site in two tabs, it will run them on the same process. 1

Single process per tab

The string '-process-per-tab' will force Chrome to create a completely new process and use a new memory space for each tab, which is its default*. 1

*This doesn't seem to be the default in the recent versions of Chrome.


References:

1 10 really cool Google Chrome hacks

"Easier" instructions

Mateen Ulhaq

Posted 2010-05-09T21:41:59.573

Reputation: 3 207

Actually chrome's default for OSX I think is process per site now. – Mr. Demetrius Michael – 2016-06-17T18:43:02.137