Home Email RSS Feed

Reducing memory usage in FireFox

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Learn how you can tweak your Firefox application to consume less memory and work little faster.

FireFox LogoI’m crazy about this browser right from the day of release. Firefox bought me in a change of browsing style. I really love this tool. But only concern I’ve about Firefox is its memory usage. Hope this would be the concern for other users as well as the Firefox developers. It sucks most of the memory space. I’d say Firefox is memory ravenous compared with IE.

Firefox has lot of memory leaks and that has been fixed the most in the latest release. Anyway that’s not our part Mozilla developers will take of that  If you think you can contribute better then join their team. Visit Mozilla today to find out more ways to contribute.

Now let’s optimize Firefox to use less memory and to work faster. This is the smarter way too.

Type about:config in the address bar.

  • Create a new Boolean entry config.trim_on_minimize and set it to true (This one works gr8 when ever you reduce the FireFox window. It almost saves 20 MB – 30 MB+)
  • Set browser.cache.memory.capacity to a fixed size (the default values are: for 256 MB RAM – 14336, 512 MB RAM – 22528, 1 GB RAM – 32768). This is free 22MB max.
  • Set browser.sessionhistory.max_total_viewers to 0. It can reduce around 20 MB of usage
  • Change image.animation_mode to none. It has little impact on performance.

Now go to Tools/Options.

  • Set the disk cache memory to a low value (less than 50 MB).
  • Turn off Java (If you really don’t use it).
  • Try to avoid memory hungry extension. If you decide to use some; don’t use more that 5.
  • Clear the download history now and then. Don’t let the list to accumulate. This will have impact on the performance.

Using these tips, I was able to reduce around 40 – 50 MB of memory usage. So why to wait try it today. Happy Browsing.

Try Firefox today if you didn’t had a chance yet.
Get Firefox!

Popularity: 15% [?]

Tags: , , ,

1.

Conor said,

August 3, 2006 @ 10:52 am

Nice article,

I’ve been looking for a way to free-up some of the memory firefox uses, and your tips worked perfectly.

Conor

2.

Bryan Kennedy said,

August 5, 2006 @ 8:18 am

worked for me!

3.

CrashDaddy said,

August 5, 2006 @ 9:32 am

This saved me 20 meg!

–CrashDaddy

4.

london cokehead said,

August 6, 2006 @ 2:42 pm

Half the memory thanks..

5.

Pieter said,

August 6, 2006 @ 4:23 pm

Right click on the about:config webpage should do it cgh

6.

CGH said,

August 6, 2006 @ 3:29 pm

would love to reduce the memory, but I am stumbling at the first hurdle – can’t work out how to create a boolean entry.

any advice?

Cheers

Colin

7.

Michael Flessas said,

August 13, 2006 @ 5:41 am

Benedict,

I had been meaning to do something like this and you tips prompted me to do it and, I might say, with better results than what I had in mind.

Thanks so much!

8.

benedict herold said,

August 24, 2006 @ 3:56 pm

Hope all you guys freed up some memory at last.>!!! i will keep all posted on other ways of optimizing memory as well..!!

9.

Anonymous said,

September 26, 2006 @ 8:47 pm

Thank you so much!!

Firefox was using 40M right after starting up. Now it’s at 13M!

10.

Moritz said,

October 28, 2006 @ 3:07 pm

Hey, it worked for me, I didn’t really expected it to work.
But the best tip for me would be: “close unused tabs” ;-)

Cheers,
Moritz

11.

Anonymous said,

November 22, 2006 @ 3:10 pm

GR8! very useful! thanx!

12.

cypherhackz said,

December 25, 2006 @ 12:36 pm

have you read my 4 Tips on How to handle Firefox Memory Usage

13.

benedict herold said,

March 13, 2007 @ 9:32 pm

@Anon,
Thanks for your feedback

@Moritz
Thanks for the comments. Yes.. that would a useful one. But I never seen people using that.

@Anon,
Thank you.

@cyperhackz
Thanks for the link. your tip was cool.

14.

Rekha said,

May 4, 2007 @ 6:01 pm

Nicely summed up!!
Worked for me too!!

15.

benedict herold said,

May 5, 2007 @ 7:23 pm

Rekha, Thanks for that.. I’m really glad that it helped you too :)

16.

cyberst0rm said,

June 28, 2007 @ 5:40 am

Thanks. Firefox can be a resource hog like none before. This sure helps.

cyberst0rm’s tech blog
http://cyberst0rm.blogspot.com

17.

benedict herold said,

June 28, 2007 @ 10:16 pm

cyberst0rm, I haven’t tested this with Firefox 2. Hope this trick shd work. let us know if that worked..

18.

Bob Jackson said,

July 26, 2007 @ 11:43 pm

this is a very true article. My mom had all kinds of add-ons:
1.Google toolbar
2.Yahoo toolbar
3. Stumbleupon
4.Yoono
5.Jeteye
6.Blueorganizer
7.Foxytunes
8.JahJah
9.CoolIris
10.Greasemonkey
11.Map+
12.Firebug
13.Scribefire
14.Clipmarks
15.Chatzilla

She’s not comp-savvy. I think all of these were in the recommended list and thats why she got them. She never used any of them. Also, she complained that firefox was sucking. It crashed all the time and was slow(Gee, I wonder why…). I uninstalled all of her add-ons, and now she says Firefox works like a dream.

You shouldn’t download any extension unless if you absolutely need it. Try not to have more than 5.

19.

benedict herold said,

July 28, 2007 @ 12:42 am

Bob Jackson – Very valid points. If you’re really not sure if you need the addon, don’t install it. It might suck your memory. I also recommend to have addons not more than 5, but if you’re geeky you can extend it upto 10! BTW, Thanks for sharing your experience.

20.

Irfan said,

August 7, 2007 @ 12:29 pm

Works gr8..Thanx a ton.Keep up da good work!!

21.

benedict herold said,

August 10, 2007 @ 2:31 pm

Irfan – Great, nice to hear!

22.

Raphy/ Manny said,

August 16, 2007 @ 7:08 pm

hey, thanks fr this great article, it certainly works fr me with Firefox 2. I was actually trying to fix the slowness of my firefox, but wasnt sure how.

23.

Random Links Part 2 « Mega Voltage said,

August 17, 2007 @ 11:27 am

[...] A Faster Firefox – Tells you how to configure your Firefox browser to run better and faster. [...]

24.

benedict herold said,

August 20, 2007 @ 9:00 am

Raphy / Manny -  Whatever name it be, Thank you for your comments and link love! 

RSS feed for comments on this post · TrackBack URI

Leave a Comment