Archive for the ‘Firefox’ Category
Reducing Firefox Memory Usage
Mozilla Firefox is slowly becoming the de facto web browser – making people finally realize that IE is pathetic. On a personal level, almost all of my sane friends use Firefox (thanks to me!) . This post deals with the memory leak problem in Firefox (what a memory leak is; explained further)
Programmers are familiar with the term memory leak. For others, memory leak is un-intentional memory consumption by the program wherein it fails to release memory no longer needed. Think of it like this – whenever you run a software, a specific amount of memory is allocated to it. Since we are dealing with Firefox, let us concentrate on that. When you open Firefox assuming an empty page, it takes up some amount of memory to load the interface. Next, supposing you open Gmail. The memory consumption increases (cause of Gmail). After that you sign out of Gmail and once again return to an empty page. If Firefox is still consuming the same amount of memory it was when Gmail was open – this is a memory leak. Gmail is no longer loaded but Firefox has failed to release the memory it allocated. This way the leaked-out memory keeps on increasing and hence slows down your computer if you have less RAM. (Programmers: memory leak does not mean that the memory is physically lost, it means that the program logic can’t access the memory due to faulty code)
“To check how much memory Firefox is using:”
Right click on the Taskbar and choose Task Manager. Now choose the Processes tab. Look for firefox.exe And note down the memory usage.
Typically, if you have no open windows or tabs (a blank page; which can also be brought about by typing about:blank in the address bar), Firefox should not consume more than 50 MB of memory. Anything more than this and means memory has already leaked out. (just a sentence!) Time for action.
1. The easiest solution is to restart Firefox. This will bring the memory back to a level it should actually consume.
2. Many a times, the themes and extensions cause a memory problems. The way to check this is to start Firefox in safe mode. To do this, go to Start > Run. Enter:
firefox -safe-mode
Press Enter. This starts Firefox in safe mode. Now check the memory usage after using it for sometime. If memory allocated decreases dramatically, means that the themes or the extensions are causing problems. Using the default theme or updating that extension might help.
3. Clearing the Firefox cache might help. To do this, press Ctrl + Shift + Del in succession.
4. Another method to cure the memory leak problem. Click here. (For advanced users only)
The ironical thing is that the Mozilla guys have done nothing to resolve this issue. For most people the easiest way out is method number one. Restarting Firefox.
Advanced people who know how to mess around with about:config, check the link in point 4.
Firefox rocks. Except the memory problem and loosing bookmarks!
Opening multiple webpage tabs on Firefox startup
Here is how to open multiple websites (tabular form) automatically when Firefox starts up. I think it is pretty useful.
Procedure:
1. Start Firefox and click on Tools menu and then choose Options.
2. Click on the General tab.
3. Click on the text box in front of the Homepage – Location(s) group. (screenshot)
[CLICK HERE TO VIEW SCREENSHOT] {opens in new window}
4. Type the address of the webpage you want to load when Firefox startups. To enter multiple webpages, seperate them using the vertical bar | (SHIFT+\) Add as many webpages as you want.
EXAMPLE: To open Google.com and Gmail.com on startup, type:
www.google.com | www.gmail.com
(see screenshot)
Alternative (Better):
Load all the favourite pages in seperate tabs. Then choose:
Tools> Options> General Tab> Homepage – Locations(s) > Use Current Page
Using this, Firefox will load all the current open pages on startup.
UPDATED (Thanks to Aqeel):
You can also use SessionSaver, a Firefox extension that takes care of a lot of other things also. Highly recommended.
