Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Webmaster > Internet Life

November 2nd, 2011, 20:31 GMT · By

Mozilla Plans Big Memory Usage Improvements for Firefox 10, 11 and Beyond

SHARE:

Adjust text size:


Future versions of Firefox will see some big improvements to JavaScript memory usage
Enlarge picture
Mozilla has been working on improving Firefox's memory performance lately. Some of the improvements should already be visible in the latest Firefox 7 stable release, but testing releases, Firefox 8 and Firefox 9 move things even further along.

But Mozilla is not done yet, is is now working on slimming down its JavaScript engine, SpiderMonkey, and has made some rather big changes to come in Firefox 10 and Firefox 11.

As Mozilla notes, SpiderMonkey is being put on a diet. Its inner-workings are being rewritten and redesigned to take up as little space as possible.

Mozilla developer Nicholas Nethercote has all the details on it, but, unless you're a developer too, it's not exactly light reading.

Suffice to say, Mozilla is leaving no stone unturned. Some of the changes have been implemented, but many are in the works while some are just theoretical at this point.

One thing that is more concrete though is that TraceMonkey is being deprecated and is being removed gradually. As of Firefox 9, which introduced type inference, TraceMonkey was disabled for web content.

Patches in Firefox 10, currently in the Nightly channel, have disabled it for the UI and then removed the code from the default build.

The code itself should be removed entirely in Firefox 11. This not only means less memory will be used, it also means that the Firefox executable will be slimmer as well.

This leaves JaegerMonkey as SpiderMonkey's only JIT compiler. But this won't last for long, Mozilla is already working on a new one, IonMonkey that should improve performance while at the same time reduce memory consumption.

There's more, there are plans to improve the JavaScript garbage collector as well, which, if successful, should lead to less memory being tied up even if it's unused. But these are long term plans as well.

Still, what is clear is that Mozilla really wants to drive down memory usage and that future Firefox versions should show bigger and bigger improvements.

TELL US WHAT YOU THINK:

3,874 hits · 10 comments · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Firefox 9 Comes with the Biggest UI Refresh Since Firefox 4 (Screenshots)

Firefox 9 Finally Adds a Smart and Great Looking Download Manager (Screenshots)

Google Chrome 16 Introduces a New Bubble View UI for Errors

Firefox 9 Could Get a New Tab Page - Screenshots and Concept Design Pics

Firefox 7 Is Coming in a Week, Here's What You Need to Know

READER COMMENTS:


Comment #1 by: frequencyhopper on 03 Nov 2011, 20:09 UTC reply to this comment

I don't buy into this. Memory leakage has been an issue since Netscape 1.0. Memory leakage was never resolved and it followed every new releas of Netscape to the final release Netscape 9.0.0.6 – Last Official Release. The Firefox code base is built upon the same code base as Netscape. I have suffered 17 years of memory leakage and I'm not overly optimistic Firefox will overcome the problem with memory leakage at all. My two cents.

Comment #1.1 by: Lilian on 07 Nov 2011, 10:38 GMT

Actually, the solved it in Firefox 7...

Comment #1.2 by: Energetic1 on 28 Mar 2012, 16:52 GMT

No they didn't Lillian. They only SAID they did. There was no evidence of any less memory usage on my computer. I check my Task manager regularly. Firefox is as big a memory hog as ever which is very disappointing because I need my memory back!


Comment #2 by: TheDevian on 09 Dec 2011, 19:46 UTC reply to this comment

7 is when it started getting bad for me (used up to 2.5gig of ram one night), and all the way up to 10 still has major memory issues, still uses 600meg for a mere 20 or so tabs, and jsut keeps going up the longer it is open. I used to have 130 open and it still remained in the 2-400meg range.
From what I gather it has something to do with the 64bit Win7.


Comment #3 by: Hector Wice on 19 Dec 2011, 22:12 UTC reply to this comment

Firefox still has (as of version 8) memory accumulation problem – it accumulates memory which it fails to release during long (1-2 weeks) or intense (50+ tabs) usage. This is an old infamous problem, which despite the efforts of the Mozilla developers still is not resolved. At the moment of writing this, I have only two tabs and the memory usage of Firefox according to about:memory is 341.63 MB (60.98% - js). Still there is no way, as far as I know, to see the memory usage of the individual Add-ons. The new versions of Firefox may fix some memory problems, but they may introduce others, because of the new technologies they implement. How well the Firefox versions perform in a thorough independent stress test which lasts hours and involves loading, interacting and closing of hundreds of tabs loaded with famous sites, which span a diverse specter of interest?

That’s what I am interested to know, because such a test will give clear practical picture of the overall memory performance among different versions of Firefox and possibly other browsers.


Comment #4 by: tommytalks on 02 Jan 2012, 09:20 UTC reply to this comment

Same ole tired BS line I've been hearing for years.. like lowering taxes on corporations will create more jobs!

I'll believe it when I see it!


Comment #5 by: Wood-Yi on 12 Feb 2012, 20:35 UTC reply to this comment

I have 10.0.1 and my current FF memory use is 2,10,768 k. I've been on for 3 hours. Single tab. So much for the big improvements.


Comment #6 by: monkeys in charge on 03 Mar 2012, 07:39 UTC reply to this comment

Generally, we find these links to sites and discussions because we've been Googling this very problem in hopes of finding answers. So yes, Firefox has a going forward plan however FF is as bad as I've ever seen it with FF 10.

I run two addons (ABP and WOT) and disabling them has zero affect on RAM usage build up. I have been with Firefox for for a very long time. Had several PCs with 256mb and 512mb and never had issues with FF 'back in the day'. At times, I could and would go days without a reboot.

Ever since FF4, I've gone from so many back and forths from current version to FF3 (last known great version - and FF knows this because they still make updates due to many users still run it). My RAM size has gone from a paltry 512mb to an adequate (to say the least) 8GB. It's beyond frustrating how poorly FF performs in the RAM dept. As of this writing, I'm bleeding 1.43GB (and rising) from a reboot 30 minutes ago. I'm currently opening FF at 1.06 (give or take a few tenths)GBs. Usually 5 to 6 hours is my limit as page loads and picture opens are so stodgy there is no other option but to reboot.

I recently did a reformat to destroy all my FF profiles (as I said, I've jumped back and forth so many times) with the intent to leave FF3 behind (which is silly because I have the least trouble with it but so many things are no longer viewable or supported on it, I caved in) and really give FF10 a good clean try. FF10 has been horrendous.

I just wish I had the same trust with Google Chrome as I do with FF because at this point, it's a no-brainer who provides lightning quick browsers.

The next time I leak out up to 2.00GBs of RAM, I'm done with all things FF. I can open GC at 350mb and it'll stay within 100mbs all day long. No wonder FF is losing market share. This fire-pace pattern of new launches are only bringing bigger headaches, not solutions. Whoever is in charge at Firefox needs fired. This person is a total idiot for destroying and torturing his users.


Comment #7 by: nospam2000 on 31 Mar 2012, 20:13 UTC reply to this comment

I had to bring up IE just to respond to this - FF 11.0 wouldn't post the comment! I just had to restart FF 11.0 because it was over 1.0GB memory usage (of 4GB on the system - Vista 64 Professional.) After closing FF the memory usage took 30 minutes to get to 560MB. They really need a "do garbage collection NOW" button. If IE had NoScript, Stylish, and Edit CSS I'd be using it. The FF boy has cried "Wolf!" too many times about memory usage to be trusted any more.

Comment #7.1 by: mike on 02 Apr 2012, 20:40 GMT

I have just had to do exactly the same thing.

1.2 gigabytes of RAM being used by Firefox 11. This is ridiculous!

Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM