Mozilla shrinks Firefox's memory appetite by 20%-30%

Firefox 7 will be faster, less likely to crash than predecessors, claims developer

Mozilla's Firefox 7, slated to ship in late September, will be significantly faster because of work done plugging the browser's memory leaks, a company developer says.

Mozilla developer Nicholas Nethercote credited the "MemShrink" project for closing memory bugs in the browser and producing a faster Firefox.

MemShrink kicked off two months ago.

"Firefox 7 uses less memory than Firefox 6 (and 5 and 4): often 20% to 30% less, and sometimes as much as 50% less," Nethercote said in a blog post Tuesday. "This means that Firefox 7 is faster (sometimes drastically so) and less likely to crash, particularly if you have many websites open at once and/or keep Firefox running for a long time between restarts."

Firefox has long been criticized for using large amounts of RAM and for not releasing memory when tabs are closed, practices that can degrade the browser's performance, or in extreme cases, cause it to crash or lock up.

Mozilla has tried to stop the leaks before. In 2008, a pair of company engineers claimed that work done on the then-under-construction Firefox 3 had paid off, with improved memory-handling compared to earlier versions and rivals.

Nethercote acknowledged Firefox's reputation as a "memory hog," and noted that some versions had used memory more efficiently than others, applauding Firefox 3, 3.5 and 3.6.

"But Firefox 4 regressed again, partly due to a large number of new features (not all of which were maximally efficient in their first iteration), and partly due to some over-aggressive tuning of heuristics relating to JavaScript garbage collection and image decoding," Nethercote said.

Nethercote cited tests that Mozilla and others had conducted with Firefox 7 that showed it used less memory than its predecessors and released unused memory more reliably when tabs were closed or the browser went idle.

"The reduced memory usage should also result in fewer crashes and aborts on Windows, where Firefox is built as a 32-bit application and so is typically restricted to only 2GB of virtual memory," Nethercote said.

Firefox 7 is currently in the "Aurora" channel, and will shift to a more reliable beta build on or shortly after next Tuesday, Aug. 16. If Mozilla maintains its rapid-release schedule, which results in a new edition every six weeks, the final version of Firefox 7 will ship Sept. 27.

Firefox 7 can be downloaded from the Mozilla website.

Gregg Keizer covers Microsoft, security issues, Apple, Web browsers and general technology breaking news for Computerworld. Follow Gregg on Twitter at @gkeizer, on Google+ or subscribe to Gregg's RSS feed. His e-mail address is gkeizer@computerworld.com.

See more articles by Gregg Keizer.

Read more about browsers in Computerworld's Browsers Topic Center.

Tags applicationsbrowserssoftwareinternetmozilla

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Gregg Keizer

Computerworld (US)

Comments

Comments are now closed.

Latest News Articles

Most Popular Articles

Follow Us

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Resources

Best Deals on GoodGearGuide

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?