Friday, December 26, 2008

firefox: resolving memory leak issues



Yes, firefox is a great browser. But it has some memory management issues. I mean there is a memory leak (or garbage memory) problem. It means that firefox consumes memory without any use. even sometimes you can see in the Windows Task Manager that the Mem Usage of firefox in the Processes tab is increasing constantly!!!
There is a simple solution that doesn't fix it completely, but makes it better to some extends. This is not a fix for memory leak but it affects it. It will move firefox to your hard drive when you minimize it, and as a result it will take up less than 10mb of memory while minimized. this is one of the options in the firefox that does not included in the standard user interface. so if you want to enable it, follow the instructions bellow:

1- in the address bar type "about:config" and press enter. by doing this you can access to varable configuration console. it's something like windows registry.
2- right click somewhere on the page and select new boolean, and in the poped up window type "config.trim_on_minimize" and then press enter.
3- now select True and then press enter again.
4- now restart firefox and it's done!

if you are interested to working or understanding about About:config entries, there is a good reference and here is a link:

and here is some secrets and tweeks:

have fun and good luck!

No comments: