Skip to main content

Google Chrome Browser - Good @ First Look But Hogs Memory Feature "One Process For One Tab"

Hello Folks !!!

Here is my two cents about much hyped Google Chrome Browser. There has been a huge ripple and hype in the web since Google released the Chrome browser. Like many users i was curious about Google Browser and happened to watch Chrome release technical video. At first I really liked chrome, specially its speed and ease of use. As an ardent developer / tester of Microsoft Mobile & Desktop technologies and I like the services that Google provides. When Google and MS competes it is a win win situation for me, the consumer.

Google Search v/s Microsoft Live Search
Google Maps v/s Microsoft Maps
Google Mail v/s MS Mail (Hotmail , Live ...etc)

Many situations Google had little or more upper hand but one needs to understand that it is Microsoft Platform which made Google so popular (Arguable item :) ). Now Google is trying to compete in browser are with bigwigs like Firefox , Opera and IE.

I am sure you have read many blogs by now hearing praises & appreciating Chrome, and Even i am positive about Chrome ... but i am really shocked with its memory usage. Yes .. that true it hogs memory like anything @ default settings.

My favorite browsers are FireFox and Internet Explorer. I like Firefox a lot and i do use IE to read some localized content websites (Sometime other browser are poor or does not have enough font support ). Installation of chrome was pretty easy and straight forward. it appears to be lightweight application.
1. Best part of Chrome is you don't have to install any fonts and bother about font installation to read local content.
2. Browser has built in google suggest which is kind of pretty cool and i really liked it.
3. Chrome has many process models like " One process for one site, One process per tab and single process for entire browser".
3. Google has advertised that unlike other browsers where crash in one tab forces your to close entire browser application ( that means all other websites who are running on different tabs along with the culprit tab had to close down which is kind of irks you) chrome does not force you to do so instead it only closes down the tab which got crashed.. Google chrome advertised that "One process for one tab" which means you don't have to close down other tabs if you get into situation where one of the tab is crashed or something similar to that. It is a kind of cool. But it comes with a COST i.e "Every tab runs as seperate process and it hogs memory like anything ".


Having said that Chrome hogs lot memory It consumes memory for each and every tab. Imagine you are BIG internet Junkie and browse at least 20 sites at any given point of time. I have observed that each Tab takes memory anywhere between 5MB to 40 MB depends on the kind of site you open. Let us assume that on an average each site takes 15MB which means 15 MB X 20 tabs = 300 MB alone for browses ..whack ... its too much.

Is there any solution to this issue : Yes there is, but again if we use that solution we lose that functionality of much hyped and advertised "One Process for One Tab / One Process for One site". Anyways read below for solution.

Chrome supports other process models as well. Here are the process models for Chrome browser

1. Process Per Site: One process per website. If you're on mail.google.com, and you navigate to hotmail.com, the tab's underlying process may switch. In this case, Chrome switches your browsing context because you navigated to another site.

2. Process Per Tab: In this model, tabs have their own process but unlike process-per-site-instance and process-per-site, none of the underlying process switching logic is applied.

Each tab has it's own process for the life of tab, so a tab will never change process even if a user consecutively visits hotmail.com, gmail.com, and ymail.com.

3. Single Process - You can run Chrome in a mode that combines the Browser and Renderer process into a single process. This makes Chrome behave a lot like the browsers we have today.

So Single Process Mode takes low memory to operate browse but again ALL much hyped or advertised Functionality does not yield GREAT result. Hope Google hearing this and make their product unique and stable (I am confident they do :) .... ).





Comments

Popular posts from this blog

WinCE / PocketPC / Windows Mobile Power Battery Timeout - Solution

Hello Folks, I am back with yet another WinCE / Windows Mobile Solution this time it is something exciting and it is on Power Batter Suspend timeout related stuff. It is really challenging task to optimize battery life of any embedded device. Sometimes we want to control back light and battery suspend related activities through our program. OK .. here is simple question how do you control Back light, suspend timeout .. etc event through program ? To answer this question one has to understand "How WinCE operates w.r.t Power driver and what exactly happens behind the scenes". To simplify things ... i am going to divide whole things in three parts 1. WinCE OS Part whihc include Power / Battery drivers. 2. Application 3. Registry Registry : It is the place where all values gets stored i.e it acts as media for storing and retrieving values. I hope it is clear that Registry is nothing but global storage media and it has NO power to trigger anything. So that means it is of new us

What is the Current Directory in Windows CE & Windows Mobile ?

Lately i encountered  a situation where i had to find the current directory from where my application is running and all my config files reside. Question is "How do I find the current directory?" on Windows CE/Mobile devices. Desktop / PC it is just piece of cake but Windows CE / Mobile devices don't have a concept of a current directory.  Which means all pats are absolute and there is no concept called relative path. Due to lack of relative paths most of the files are loaded to the "Windows" directory and that is how Windows directory is crowded. Alternatively you can hard code directory path and insist user to load files always there. But i hate to hard code values or copy files to Windows directory.  So this has triggered to find a solution to identify my current directory. Since there is no concept of a current directory on a Windows CE / Windows Mobile device how would one locate a resource for which only a relative path is known?  That is what following c

Android Bluedroid debugging

Android Bluedroid Debugging  i.e New BT Stack from Android Community: Wow ... its been more than 2 years i updated my blog ... Am i too lazy or too busy or combination of both. Combination of both -:).  Anyways today i see a need to update my blog with some important info regarding Bluedroid debugging. Bluedroid is the latest and greatest Bluetooth stack from Android developed by Google & Broadcom jointly. So obviously Google does not have interest or resources to maintain two stacks hence they are going to drop famous BlueZ stack for good reasons.  BlueZ stack comes with lot of good tools like hcidump for debugging and i see all those tools no more work starting with Android JB MR2 a.k.a 4.3 which has Bluedroid integrated full-fledged.  So Bluedroid got to have new tools or some tools to debug but as usual Google is very poor at documenting the things and they leave finding puzzles to developers out there. SO today's quest is fining the debugging tools for Bluedroid.