This is BrainLog, a blog by Dan Sanderson. Older entries, from October 1999 through August 2010, are preserved for posterity, but are no longer maintained. See the front page and newer entries.

Entries tagged “firefox”

September 12, 2007

How to Keep Firebug From Eating Memory

Do you use Firebug, the excellent web page debugging plugin for Firefox? Do you use GMail or any other dynamic web application? Have you noticed that your computer gets sluggish if you leave your GMail window open for an extended period of time?

Firebug can log (remember a list of) network activity between Firefox and a web site, and typically these features are on by default. If you have Firebug active on a dynamic web site like GMail, which makes frequent use of the network without reloading the page. Since Firebug won't clear its log until the page gets reloaded, network monitoring GMail can eat up memory without you noticing.

Firebug's Net panel fills up with GMail traffic.

The easy fix is to disable Firebug until you need it (open Firebug, click the bug icon to bring up the Firebug menu, then select "Disable Firebug"), but you can also just disable the network monitoring part and leave the rest active.

To disable network monitoring, open Firebug, select the Net tab, click Options..., then make sure "Disable Network Monitoring" is checked.

Disable network monitoring from the Net panel's Options menu.

Also make sure that XMLHttpRequests are not being logged to the console. Select the Console tab, click Options..., then make sure "Show XMLHttpRequests" is not checked.

Disable logging of XMLHttpRequests from the Console panel's Options menu.

July 30, 2007

YSlow, a Firefox+Firebug plugin for performance analysis of web pages, from Yahoo. YSlow rates any given web site on rules for high performance web sites.

July 12, 2007

I've been complaining about Firefox being slow on a Mac for years, and all this time I should have been using Neil Lee's Mac-optimized build. The speed increase is noticeable and welcome. Downsides: The form widgets aren't identical to the original Firefox (though not bad), the app name and logo are different due to Mozilla Foundation rules (don't use the official logo on unofficial builds), and you have to get it from some dude's web site instead of a more official source. Totally worth it.