Friday, November 26, 2010

Google Chrome memory leak - flash plugin problem

Hello folks, i have been using Firefox for a few years, and i was adoring the orange fox and its very useful plugins. I remember , 5 years ago, i went on FF from Internet Explorer 6 because of plenty IE security and viruses problems.

Firefox in following years became too slow for my computer, which isn't to bad - AMD Turion X2, 3 gigs of  RAM, ATI chip set, 7200rpm hard drive. Firefox&surfing became enough good for my appetites and preferences.

In the meanwhile Google Chrome showed up. At the first glance, it looked very unique because of its very simple and flat look. It looked like how popular and user friendly web browser should look like. Great, but enough for me, I thought, I already had my loved Firefox and i was 100% satisfied with it. I continued to use Firefox. But, used Chrome at my friend's and ex boss's computer sometimes.

Eventually, Firefox become so slow for me, so i softly started to use Google Chrome as my main web browser, whenever Firefox was too slow for usual everyday surfing.

So, nowdays I am using Chrome for everyday surfing, and Firefox only when I need some of it's features or plugins for webdesign, such as Firebug(god bless you and your developers). Firefox beta 4 isn't significantly faster, i have tried it.

I am running Windows 7, using Chrome for surfing, sun is shining, birds are singing, some people on earth are starving to death( sad true)... everything is in normal for me. But, my Windows started to inform me about the low memory problem!! I have clicked right click on task bar, selected Start Task Manager, gone to Proceses to see which program is voraciously eating my memory, and saw Chrome using significantly more than 1 gigabytes of my RAM!! WTF, i thought? In the same time a had a problems with the crashing of Adobe Shockwave Flash player on some web sites, i suppose due to memory problems.

It appears that Chrome has some serious memory leaking problem, and it is related to the Flash player. So i googleed for that problem and didn't find out some useful solution, i tried updating Chrome and Flash player to latest versions, but it didn't helped.

So, I've tried something on my own, and got the solution!
  1. Click on the wrench icon in the top right corner of your favorite browser
  2. Options
  3. Content settings
  4. Plug-ins
  5. Disable individual plug-ins
  6. Click on the plus sign on the right side
  7. Find the plugins(mines are those versions)
  8. Flash (2 files) - Version: 10.1.103.19 Shockwave Flash 10.1 r103
  9. You will find two Shockwave plugins active on Google Chrome
  10.  Disable the one with the properties -
    Description: Shockwave Flash 10.1 r102
    Location: C:\Windows\system32\Macromed\Flash\NPSWF32.dll
  11. Restart your Chrome and enjoy!
This configuration i have been using for a days, and never get a low memoy alert or Flash Shockwave chrash.

Cheers to Chrome fans.