Closed Bug 703466 Opened 13 years ago Closed 12 years ago

firefox 8 memory leak (> 1G)

Categories

(Firefox :: General, defect)

8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ahcheong, Unassigned)

Details

Attachments

(2 files)

Attached image firefox memory.png
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111104165243

Steps to reproduce:

Surfing any website.


Actual results:

Firefox 8 eat out memory more than 1G while time going.


Expected results:

Firefox 8 should not eat out so much memory.
Thanks for taking the time to report this problem.
This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read https://developer.mozilla.org/en/Bug_writing_guidelines and add a more useful description to this bug - especially steps to reproduce and how quickly this happens and after which steps, and if this happens with a freshly booted system and no other applications running.
(In reply to Andre Klapper from comment #1)
> Thanks for taking the time to report this problem.
> This bug report isn't very useful because it doesn't describe the bug well.
> If you have time and can still reproduce the bug, please read
> https://developer.mozilla.org/en/Bug_writing_guidelines and add a more
> useful description to this bug - especially steps to reproduce and how
> quickly this happens and after which steps, and if this happens with a
> freshly booted system and no other applications running.

Hi Andre,
I try my best to describe it more detail.

1. Steps to produce:
Actually I just surfing as normal, didn't go through special step. But I found that most of the time the problem comes quickly while I'm browsing Google Reader site. (I think it is heavy javascript site)

2. How quickly this happens:
If I start browsing Google Reader, the problem comes in 10 minutes. Again, no special step to re-produces the problem, just browsing as normal.

3. Freshly booted system and no other apps running condition.
The problem still comes as I mentioned.
Does the issue still occur if you start Firefox in Safe Mode?
https://support.mozilla.com/en-US/kb/Safe+Mode
hi all,

i have the very similar situation as what encountered by Wong.  And mine was worse -- my WinXP faced BSOD once the same day after upgrading from Firefox 3.x straight to Firefox 8.

With Firefox 3.x i had previously, i can open up to 6 or 7 tabs in Firefox, with other apps such as SQL developer, Chrome browser, Open Office Calc, Yahoo Messenger without any issue of memory lagging at all.

But just after upgrading to Firefox 8, i have to frequently perform the GC/CC/Minimize Memory Usage on ABout:Memory in Firefox 8, with now only dare to open 4 tabs at a time in Firefox minus the spreadsheet apps, and still having system hang issue once every while.
(In reply to :aceman from comment #3)
> Does the issue still occur if you start Firefox in Safe Mode?
> https://support.mozilla.com/en-US/kb/Safe+Mode

yes...
Ok, could you temporarily try it in Firefox 11 (nightly)? Many memory problems are fixed in versions newer than 8.0.
(In reply to :aceman from comment #6)
> Ok, could you temporarily try it in Firefox 11 (nightly)? Many memory
> problems are fixed in versions newer than 8.0.

ok... i will try it..
but how about firefox 10 (aurora)?
You can use that too if it suits you better.
(In reply to :aceman from comment #6)
> Ok, could you temporarily try it in Firefox 11 (nightly)? Many memory
> problems are fixed in versions newer than 8.0.

hi aceman,

Should we choose "Upgrade" from Firefox 8 to newer version, or, 
to uninstall existing Firefox 8 then install the newer version ?
Upgrade would not work.
I think best would be to get a .zip archive from here (or Aurora): ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
You can extract that anywhere you wish and run it from there (make sure the 8 version is not running). No install required so it will not touch your existing installation.
If you do not want it to touch your existing profile (Firefox data like history), you can start it with -profilemanager parameter and create a new profile (http://kb.mozillazine.org/Profile_Manager).
another critical problem occurs on my firefox 8.0.1 today...

every time i launch my firefox 8.0.1, script error dialog box appear. please refer the attachment.

i think because of this, my firefox 8.0.1 freeze every 30 seconds.

please help!!
my issue about script error of SessionStore.js is solved.

What I have done:
I close all tab and tab group, then restart firefox.
(In reply to Wong Huong Cheong from comment #11)
> another critical problem occurs on my firefox 8.0.1 today...

Please always only ONE issue per one bug report, otherwise things tend to get messy.
(In reply to Andre Klapper from comment #14)
> (In reply to Wong Huong Cheong from comment #11)
> > another critical problem occurs on my firefox 8.0.1 today...
> 
> Please always only ONE issue per one bug report, otherwise things tend to
> get messy.

i'm sorry about that.. i will take attention on it.
for the firefox 8 memory leak problem..
i found that it is because of +1 button in google reader.

After I use adblock plus to block the +1 button in google reader, the memory consumption of firefox 8 maintain at 700mb++
That is possible. Those buttons are hell. There is the same bug filed for Facebook buttons (bug 690229). I have disabled even DNS requests for these sites on my system so I do not download their crap.

However I think you haven't responded if it still happens in Firefox 10 or 11. And, if you close all the google reader tabs, is the memory freed? Go to about:memory, press "minimize memory usage" several times and then see if the usage dropped.
I get a memory leak in FF10.x, 9.x, 8.x, and who knows what else, I suspect it's been there since 3.x causing crashes due to using up all the memory.
I have 3GB of RAM and no VM.
I have never used +1.
I thought it was due to sf.net trac's new ticket page.
firefox with 20 tabs chews up anywhere from 4K/sec to a lot more.  after 3 hours, I get a crash with firefox just sitting there.

what I have noticed is that if I bring up task manager, click on Image Name to sort it by that, and click on firefox.exe to watch it's memory usage, (right now it's at 360MB with 20 tabs - ridiculous)  and it's going up in 88K/sec right now approximately, or more. It never stops going up.  and I am not doing anything with firefox.  I have even tried closing yahoo mail (notorious for whatever).

this is almost a waterfall guys. please fix ASAP.
yahoo mail makes absolutely no dent in the leak.
what is google reader?
if I have 1 tab on a static page, it increases VERY SLOWLY, like 4k every 5-10 seconds.  but it still leaks.  somebody try about:blank and see what happens there.

safe mode makes absolutely no difference.  still leaks. like waterfall with 20 tabs.  most of the pages I have are pretty static.

I wouldn't be surprised if there is some badly formed jquery somewhere, but I visited a flat page on my site at http://jesusnjim.com/cool-products/LED/led-lighting.html which has no js (99% out of the 700 pages don't), and it still leaked.
Jim: There are many bug reports in bugzilla with the keyword "memory leak" but only some of them are useful. I assume that you already tried the firefox safemode and looked in about:memory ?
Please create your own report if this happens in the Firefox safemode and provide things like about:memory reports and Steps to reproduce. You can't be sure that you get the _exact_ same underlying issue that the Reporter in this bug got.

closing this report as incomplete because of the unanswered questions from comment#17
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: