Join our Facebook Page



Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firefox memory usage and memory leak news
09-21-2007, 10:39 PM
Post: #1
Firefox memory usage and memory leak news
Quote:Firefox memory usage and memory leak news

Many Mozilla community members, including both volunteers and Mozilla Corporation employees, have been helping to reduce Firefox's memory usage and fix memory leak bugs lately. Hopefully, the result of this effort will be that Firefox 3 uses less memory than Firefox 2 did, especially after it has been used for several hours.
Memory usage

Federico Mena-Quintero submitted a patch to make Firefox discard decompressed image data after five seconds (bug 296818). ImageLib module owner Stuart Parmenter experimented with a competing idea in bug 386377, but now he plans to help with Federico's patch. The patch will make image data join text runs in using time-based caching rather than traditional space-bounded caching.

Aaron suggested having an "about:memory" page showing a breakdown of Firefox's memory use (bug 392351). When I pointed out the bug to Brendan Eich, he excitedly assigned the bug to himself.

Eli Friedman discovered that nsFloatCache was no longer necessary and eliminated most of it (bug 381385).
Memory leaks

David Baron checked in a patch for the last bug that contributed to RLk on Linux, bringing the number of XPCOM objects leaked during this test to zero. Since this test runs on Tinderbox, it's likely that regressions will be noticed quickly, even if they don't turn Tinderbox orange.

Robert Sayre created a script to load random pages and see whether they cause leaks. The random URLs come from the Yahoo directory (biased toward older, top-level pages), del.icio.us (biased toward newer, geeky pages), and AltaVista (biased toward pornography). The script detects leaks using trace-refcnt, the same test used by RL; future versions might use trace-malloc in order to catch additional leaks. Robert has caught at least 6 distinct leak bugs using this script, 3 of which have already been fixed. See LeakingPages and bug 394517 for details.

David Baron created a series of patches to the cycle collector to aid in debugging leaks. With this code, DEBUG_CC builds of Firefox can notice when an object "expected to be garbage" is not collected and then explain in detail why it was not collected.

Steve England tested the top 500 web sites, finding two leaks. Later, he tested the top 20 Firefox extensions and found leaks in several of them.

David Baron recorded seven leak debugging screencasts, which you can watch to see how David Baron debugs real leaks.

Kris Zyp found a leak in the JavaScript Engine when using the watch method (bug 394709). Igor Bukanov responded quickly with not only a patch for the bug but also a leak detection patch to enable regression testing of JavaScript Engine leaks. I asked him to modify his patch so I could use jsfunfuzz to test for JavaScript Engine leaks, and he did. (This led me to find several bugs in evalcx, but no additional leaks.)

David Baron got the stack walking code and the stack fixer working on Mac, making it possible to use trace-malloc and the refcount balancer on Mac (bug 336517, bug 392118).

Source:
Code:
http://www.squarefree.com/2007/09/20/firefox-memory-usage-and-memory-leak-news/

Media Search Engine:
fnets.net
Visit this user's website Find all posts by this user
Quote this message in a reply
09-21-2007, 10:41 PM
Post: #2
Re: Firefox memory usage and memory leak news
sana nga maayos na yan .. kaya nag iistick ako sa SeaMonkey dahil sa malakas kumain ng resources ang firefox ...  sana lumabas na ung firefox 3 :35:  para masubukan na kung nag improve nga ...

Media Search Engine:
fnets.net
Visit this user's website Find all posts by this user
Quote this message in a reply
09-22-2007, 10:51 PM
Post: #3
Re: Firefox memory usage and memory leak news
uu nga napansin ku din yun.. ang laki ng nagagamit na memory
Find all posts by this user
Quote this message in a reply
10-05-2007, 12:39 PM
Post: #4
Re: Firefox memory usage and memory leak news
d ko mxado n intindihan ung mga bugs n yan... pero sna nga maayos toh kc lam ko n mroblema n sila... Grin
Send this user an email Visit this user's website Find all posts by this user
Quote this message in a reply
10-05-2007, 01:08 PM
Post: #5
Re: Firefox memory usage and memory leak news
(10-05-2007 12:39 PM)KoRNy Wrote:  d ko mxado n intindihan ung mga bugs n yan... pero sna nga maayos toh kc lam ko n mroblema n sila... Grin

lolzzz ...

ang gusto ko lang kase sa firefox ... userfrenly sa paginstall at uninstall ng mga extensions at ung rssreader. pero sa speed wala pa ring tatalo sa seamonkey. ...

Media Search Engine:
fnets.net
Visit this user's website Find all posts by this user
Quote this message in a reply
10-05-2007, 08:24 PM
Post: #6
Re: Firefox memory usage and memory leak news
soo ano po ang mai-recommend nyo kung ano ang mas magaling na internet..?
Find all posts by this user
Quote this message in a reply
10-05-2007, 09:01 PM
Post: #7
Re: Firefox memory usage and memory leak news
(10-05-2007 08:24 PM)rkcm06 Wrote:  soo ano po ang mai-recommend nyo kung ano ang mas magaling na internet..?

parehas lang maganda at secure ung seamonkey at firefox ... so kahit ano ung gamitin mo dun .. pero kung mas gusto mo ng maraming features opera gamitin mo ..
pero maraming site ang di gaanong compatible dun ...

Media Search Engine:
fnets.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Micron Technology, Oracle charged monopoly prices of memory ecbiz21 0 549 09-28-2010 05:19 PM
Last Post: ecbiz21
  Double the Speed of your Firefox SaMgOnZaLeS 6 1,948 11-16-2009 10:32 PM
Last Post: logiaa
  Firefox Plug-In Frees Court Records, Threatens Judiciary Profits - Wired News x 0 445 08-15-2009 08:02 AM
Last Post: x
  Firefox 3.5: Excellent for fans, but competition getting tougher - CNET News x 2 651 07-05-2009 10:41 AM
Last Post: dominicuz
  Samsung, Numonyx team up on next-generation memory - Reuters x 0 410 06-24-2009 03:50 PM
Last Post: x
  Shuttle fueling test planned to assess leak fix - CNET News x 0 386 06-21-2009 06:40 AM
Last Post: x
  comed Reports Reduction in Electricity Usage During Earth Hour - FOXBusiness x 0 352 03-30-2009 04:41 PM
Last Post: x
  Can Mozilla escape a premature endgame for Firefox? - BetaNews x 0 298 03-21-2009 12:04 PM
Last Post: x
  Just In: Browser Showdown: IE 8 vs. Firefox - Washington Post x 1 410 03-20-2009 01:58 PM
Last Post: dominicuz
  Mobile Internet usage more than doubles in January - CNET News x 0 232 03-17-2009 02:06 AM
Last Post: x

Forum Jump:


User(s) browsing this thread: 1 Guest(s)