Author Topic: FireFox Users: Firefox devs locate a source of memory-bloat  (Read 371 times)

Offline TequilaChaser

  • AH Training Corps - Retired
  • Plutonium Member
  • *******
  • Posts: 10173
      • The Damned - founded by Ptero in 1988
Firefox devs locate a source of memory-bloat

Date Posted: 5 July 2011, 17:22



Reference Article Link: http://www.h-online.com/open/news/item/Firefox-developers-locate-a-source-of-bloat-1273916.html

Quote
Firefox devs locate a source of memory-bloat

Firefox developers have been hunting down memory issues in Firefox and appear to have located a major one in the JavaScript engine. It appears, according to the bug report, that memory was fragmenting within the JavaScript engine due to it keeping 1MB chunks alive for long living system objects.

The developers then created a patch to reduce fragmentation by taking account of system objects and the results were described as "ridiculously good". In the test, memory usage without the patch was measured at around 239 MB and with the patch at 189 MB; after running "minimise memory usage", the unpatched Firefox was using 108 MB while the patched version was using only 21 MB, five times better. Together with a fix for bug 656120 – which will see the TraceMonkey JavaScript engine running garbage collection far more frequently – these changes should see Firefox consuming less memory.

The changes though will only appear in Firefox 7; Firefox 6 is about to go beta, so Firefox 7 is the earliest the modifications can appear; Firefox 7 is due to arrive in the Aurora channel at the same time as 6 goes beta.



for those that use Firefox Browser & Javascript


hope this helps


TC
"When one considers just what they should say to a new pilot who is logging in Aces High, the mind becomes confused in the complex maze of info it is necessary for the new player to know. All of it is important; most of it vital; and all of it just too much for one brain to absorb in 1-2 lessons" TC

Offline Drano

  • Platinum Member
  • ******
  • Posts: 4156
Re: FireFox Users: Firefox devs locate a source of memory-bloat
« Reply #1 on: July 07, 2011, 07:57:30 PM »
Might essplain why I have Firefox crash out on me sporadically from time to time. Sometimes it won't do it for days at a time, sometimes it does it over and over. Running V5.0 at present.

"Drano"
80th FS "Headhunters"

S.A.P.P.- Secret Association Of P-38 Pilots (Lightning In A Bottle)

FSO flying with the 412th Friday Night Volunteer Group

Offline RTHolmes

  • Plutonium Member
  • *******
  • Posts: 8260
Re: FireFox Users: Firefox devs locate a source of memory-bloat
« Reply #2 on: July 08, 2011, 02:18:00 AM »
fixed for v7? if v6 is in beta why not delay the release and patch that version :headscratch:

FF v4 has become really unstable for me on XP, ive been using Safari just because FF cant stay up for more than 20 page views. that crashes too, just no where near as much. I suspected it was JS, not surprising really its used far too much, most annoyingly for stuff that should be done on the server side. the really irritating thing is that v3 was always solid as a rock for me.  :furious
71 (Eagle) Squadron

What most of us want to do is simply shoot stuff and look good doing it - Chilli

Offline guncrasher

  • Plutonium Member
  • *******
  • Posts: 17417
Re: FireFox Users: Firefox devs locate a source of memory-bloat
« Reply #3 on: July 08, 2011, 04:22:33 AM »
that's weird holmes, i have FF 5.0 and have zero problems.  actually, i have never had a problem since i started using FF 4 years ago.  I actually dont remember ever using IE, lol.

semp
you dont want me to ho, dont point your plane at me.