Make Google Chrome Take Less Memory
Join the DZone community and get the full member experience.Join For Free
Earlier I wrote how chrome is taking huge amount of memory because it is running one process for each tab (http://www.shafqatahmed.com/2008/09/google-chrome-i.html). It seems that Chrome supports other process models as well. Here are the process models for Chrome browser:
- Process Per Tab
- Process Per Site: One process per website. For example a user with two tabs opened at Gmail and another opened at facebook will have the two google tabs running in the same process. (default model)
- Single Process ( walla! this is what I was looking for)
All this was cleared by blogger Marc Chung at his post Chrome's Process Model Explained. Right now I am running Chrome in a single process. At the chrome shortcut pass the appropriate command like option to control Chrome’s behavior.
Here is how you edit the shortcut to run with different process model. Open up the properties tab of the Chrome browser short cut and edit it like the image below:
So here I have 3 shortcuts to Chrome in my desktop. See the picture below:
So now I can run chrome anyway I want. Chrome has become my second browser of choice after Opera. Chrome will occupy less memory now.
Published at DZone with permission of Shafqat Ahmed. See the original article here.
Opinions expressed by DZone contributors are their own.