| Recent Articles |
Gateway
CEO Bails Out
Wayne Inouye has ejected from the personal computer manufacturer and deployed
a $720,000 golden parachute to soften his landing.
Yahoo
Tinkers With Music Engine
An upgraded version of the Yahoo Music Engine boosts the functionality of the
product so users can more easily create playlists and share them with others.
French
Police: Firefox Oui, IE Non
The French Police Force has chosen to replace installations of Internet Explorer
on its network with the open source Firefox browser.
|
|
|
02.15.06
Firefox Engineer On Memory Leaks By David A. Utter
An explanation about Firefox's apparently excessive usage of memory in installations
of Firefox 1.5 has been posted by one of the project's lead engineers.
"Guess I'll make that bug a feature, huh?"
-- Jimmy Neutron
That Firefox memory leak issue is an effect of the Back-Forward cache employed by the browser, according to Firefox lead engineer Ben Goodger. He posted an overview of the issue some users have encountered.
Excessive memory usage while browsing with Firefox led to complaints of poor browser performance, and even crashes. A tradeoff has been taking place as users open more tabs in Firefox, as Goodger explained:
To improve performance when navigating (studies show that 39% of all page navigations are renavigations to pages visited < 10 pages ago, usually using the back button), Firefox 1.5 implements a Back-Forward cache that retains the rendered document for the last five session history entries for each tab. This is a lot of data. If you have a lot of tabs, Firefox's memory usage can climb dramatically.
The number of pages Firefox will cache per tab depends on the memory in the system. When the Firefox preference browser.sessionhistory.max_total_viewers is at its default of -1, Goodger noted in a table that systems with 1GB through 4GB of memory will lead Firefox to cache eight pages per tab.
That preference can be set to a value besides -1. A setting of 0 disables caching, but leads to longer page load times, Goodger wrote.
To change the setting, type about:config into the Firefox address bar and hit Enter. Navigate to the browser.sessionhistory.max_total_viewers setting, double-click it, and change it there. Click Ok to accept the new setting.
About the Author:
David Utter is a staff writer for WebProNews covering technology and business.
|