Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I noticed that in Chrome, it groups all the tabs into one renderer process, at least for me. This is a problem because that makes Chrome really slow from having 150k of RAM to sort through.
Is there some way to force it to make every tab a separate process?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

According to Chrome documentation, there is a --process-per-tab command line switch that does what you want.

share|improve this answer
    
I tried that before, and oddly enough, that actually made all the tabs go into one process, from before, all were in 2 processes. It's probably some extension that makes the tabs become 'script connected'. –  digitxp Nov 5 '10 at 14:06
    
@digitxp: have you tried to disable all extensions or start Chrome in incognito mode, which does effectively the same (if not configured otherwise)? –  whitequark Nov 6 '10 at 6:25
add comment

For me, they have not yet solved the problem.

Here are a few links discussing the issue in further detail:

http://code.google.com/p/chromium/issues/detail?id=81877

http://www.google.com/support/forum/p/Chrome/thread?tid=2c6c5ffd1dcd19c5&hl=en

http://code.google.com/p/chromium/issues/detail?id=36617

There is a switch statement that you can run (should be an option in the control panel for those non-CLI people) that forces a new process per tab, but after further reading and discovery, it doesn't actually force separate processes per tab per se.

Here is a link to the chromium discussion and design document supporting their design and architecture for the chrome browser and all chromium related process models. I'm guessing Android and Chrome OS fall under a similar type of design spec.

http://dev.chromium.org/developers/design-documents/process-models

The switch's name is a bit misleading because it says to me "one process per tab", but in actuality it is one process per group of tabs with similar scripts, which is constantly being refined and merged into one giant leviathan of a process. Mine also get upwards of 500 to 800 MB. Nearly a gig of memory just for a single process. It slows my computer to a halt. More so, probably because all of that memory is getting paged out, but either way, if each tab were a separate process, at least the memory and paging operations would be different across the board, essentially distributing the load both on CPU and memory (including paging).

Chromium also supports a simpler model which dedicates one renderer process to each group of script-connected tabs

The open-source "chromium" project's words regarding the one-process-per-tab model:

"Chromium also supports a simpler model which dedicates one renderer process to each group of script-connected tabs."

There is a global limit to the number of renderer processes that Chromium will create. This prevents the browser from overwhelming the user's computer with too many processes. The limit is currently 20 renderer processes on most machines, and fewer on machines with small amounts of installed memory. As a result, a single renderer process may be dedicated to multiple sites. This reuse is currently done at random, but future versions of Chromium are likely to apply heuristics to more intelligently allocate sites to renderer processes.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.