Mozilla Shrinks Memory Use in Firefox Add-Ons

Compare Cost: Get 8 Free E-Commerce Design Bids
Service:
Location:
Budget:
Deadline:
Compare: Web Design Calculator | Web Design Cost Guidelines

Photo: Jim Merithew/Wired

Last year Mozilla launched MemShrink, an aggressive campaign to trim Firefox’s memory footprint. Since then not only has the browser’s overall memory use dropped considerably, but the effort has been expanded to tackle add-ons, a common source of Firefox memory woes.

Now Mozilla programmer Nicholas Nethercote, head of the MemShrink effort, reports that a new patch to prevent Chrome-to-Content leaks in Firefox add-ons results in “a 4x reduction in memory consumption.”

The new code is currently in Firefox’s Nightly channel for those that would like to help test it against a wide variety of add-ons.

Firefox contributor Kyle Huey, who wrote the new patch, has more details on how it works and where the memory leaks in add-ons come from. Huey writes that “it’s a little early to be sure what effects this will have, but the amount of leaks we see on our test suite dropped by 80 percent. I expect that this change will also fix a majority of the add-on leaks we see, without any effort on the part of the add-on authors.”

Unfortunately the hope that add-on developers wouldn’t need to do anything to reduce their memory use hasn’t panned out. Mozilla has since discovered that “there is an unfortunate side-effect of all this amazing, memory saving goodness which directly affects add-ons that have been packed with older versions of the SDK.” Mozilla is now asking add-on developers using older versions of the Firefox add-on SDK to repack their add-ons before the MemShrink efforts arrive in a final version of Firefox.

Luckily for Firefox fans there’s plenty of time for affected add-ons to be updated since the latest MemShrink efforts won’t make it to the final release of Firefox for at least another 12 weeks. When they do Firefox users will hopefully see a considerable drop in Firefox’s memory use making for a faster, less RAM-hungry web browser.

Source http://www.webmonkey.com/?p=56353
Tue, 08 May 2012 15:10:49 GMT
Tags: add-ons, Browsers, firefox,

add-ons


Browsers


Internet Explorer Market Share Surges, as IE 9 Wins Hearts and Minds

The browser wars are back and Internet Explorer 9 is gaining converts. For the second time this year IE made large gains, picking up almost one point of market share while Chrome, Firefox, and Safari all lost out.

The Web Needs to Get Ready for the High-Resolution Future

The new iPad is just the first in a coming tidal wave of high-resolution screens. Today we have hacks, but what the web needs are new standards and new tools to make sure developers are ready for the high-resolution future.

Firefox for Windows 8 Beginning to Take Shape

Mozilla is making progress on a version of Firefox for the Windows 8 Metro interface, but bigger problems lie ahead. Microsoft's rules for the Metro environment allow for only one browser in Metro mode. By default that's Internet Explorer 10, which leav

firefox


Disable Flash With ‘Click-to-Play’ Option in Latest Firefox Preview

The latest Firefox preview gives users the option to disable Flash by default. Instead you can simply click-to-play whenever you encounter a Flash element you'd like to see. That way Flash only runs when you want it to.

The Pinterestization Of The Web: Fab or Fad?

FaceTune Puts Photoshop-Like Editing Tools On Your iPhone

Microsoft Reverses Windows 8 Flash Ban

Health Insurance + Freelancing

Free Font Friday: Distressed Fonts For Summertime, And Fuzzy Guinea Pigs

Article Tags
Freelance Designer News Articles
Web Apps & Internet

News
cool web apps
Inspiration
CFC
All Posts
iPhone / iPad / iPod
Freelancing
Browsers
Freebies
Google Android
Games & Gaming Tips
Web Design
Freelance Graphic & Web
social media
Music
Cool Windows Apps & Tric
Featured
Tips