RSS

Mozilla Fixing Memory Leaks in Firefox 3

Fri, Sep 21, 2007    (No Ratings, Click to rate this article!) Loading ... Loading ...

Technology


Grant Gochnauer sent this gem along, it looks like the Mozilla team is hard at work making Firefox 3 not suck as hard as Firefox 2 did when it came to memory usage. For those that don’t know, the longer you use Firefox, the more memory it leaks. It’s very common to have 1 tab open, then check Task Manager and see Firefox using 800mb of RAM; especially if you use the Google Office applications (Gmail, Google Docs, Google Calendar, etc.), those seem to make Firefox leak memory like a little girl.

Some of the improvements done for Firefox 3 are:

  • Decompressed image data is discarded after 5 seconds now (bug)
  • Firefox 3 will have an “about:memory” page to show where it’s pissing away ram (bug)
  • nsFloatCache was retired (bug)
  • XPCOM leaked objects are down to zero now (link)
  • A new leaking script has been developed to load tons of popular pages and track which objects are being leaked (bug) (link)
  • In debug mode, the cycle collector will now report what was not garbage-collected and why (bug)
  • Testing against the top 500 most popular websites and top 20 most popular extensions was done to determine the most common leaks, then the issued fixed.
  • David Baron created educational “detecting a leak” screencasts (link)
  • JavaScript engine leak was detected when using the watch method, it was fixed and a new utility for detecting these links committed (bug)
  • The engine leak detector was modified to jsfunfuzz, which detected some more leaks.
Share This on Your Favorite Social Network:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Fark
  • Furl
  • Propeller
  • Reddit
  • Technorati
  • StumbleUpon
  • description
  • MisterWong
  • TwitThis
  • Slashdot
  • SphereIt
, , ,

This post was written by:

Riyad Kalla - who has written 1615 posts on The “Break it Down” Blog.

Ultimately I just want to provide a resource that folks find useful.

0 Comments For This Post

1 Trackbacks For This Post

  1. Memory Usage: Firefox 2 vs Firefox 3 | The "Break it Down" Blog Says:

    [...] covered some very interesting articles in the past about some of the work going into improving the memory usage of Firefox 3 as Firefox 2 is currently a fat [...]

Leave a Reply