X
Tryk her for at gå til webstedets mobilversion.

Supportforum

Continuously refreshing a tab after an interval leads to high memory consumption (400MB to 800MB in 30 seconds for 3 refreshes at 10 secs interval), why?

mp
Skrevet

Environment: MAC OSX 10.9.5 Firefox 32.0.3

Firefox keeps consuming lot of memory when you keep refreshing a tab after an interval.

I opened a single tab in my firefox and logged into my gmail account on that. At this stage the memory consumption was about 400MB. I refreshed the page after 10 seconds and it went to 580MB. Again i refreshed after 10 seconds and this time it was 690MB. Finally, when i refreshed 3rd time after 10 seconds, it was showing as 800MB.

Nothing was changed on the page (no new email, chat conversation, etc. nothing). Some how i feel that the firefox is not doing a good job at garbage collection. I tested this use case with lot of other applications and websites and got the similar result. Other browsers like Google chrome, safari, etc. they just work fine.

For one on of my application with three tabs open, the firefox literally crashed after the high memory consumption (around 2GB).

Can someone tell me if this is a known issue in firefox? and is firefox planning to fix it? Right now, is there any workaround or fix for this?

Environment: MAC OSX 10.9.5 Firefox 32.0.3 Firefox keeps consuming lot of memory when you keep refreshing a tab after an interval. I opened a single tab in my firefox and logged into my gmail account on that. At this stage the memory consumption was about 400MB. I refreshed the page after 10 seconds and it went to 580MB. Again i refreshed after 10 seconds and this time it was 690MB. Finally, when i refreshed 3rd time after 10 seconds, it was showing as 800MB. Nothing was changed on the page (no new email, chat conversation, etc. nothing). Some how i feel that the firefox is not doing a good job at garbage collection. I tested this use case with lot of other applications and websites and got the similar result. Other browsers like Google chrome, safari, etc. they just work fine. For one on of my application with three tabs open, the firefox literally crashed after the high memory consumption (around 2GB). Can someone tell me if this is a known issue in firefox? and is firefox planning to fix it? Right now, is there any workaround or fix for this?

Yderligere systemdetaljer

Installerede plugins

  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
  • Provides information about the default web browser
  • Shockwave Flash 15.0 r0
  • Microsoft Office for Mac SharePoint Browser Plug-in
  • Displays Java applet content, or a placeholder if Java is not installed.
  • Juniper Networks Safari Extensions
  • Version 5.4.2.18903
  • 5.1.30317.0
  • The Google Earth Plugin allows you to view 3D imagery and terrain in your web browser.
  • WebEx64 General Plugin Container Version 205
  • Microsoft Lync 2010 Meeting Join Plug-in

Program

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0

Yderligere information

Luk
FredMcD
  • Top 10 Contributor
4266 løsninger 59821 svar

In the address bar, type about:crashes. Note: If any reports do not have BP in front of the numbers, click it and select Submit.

Using your mouse, mark the most resent 7 - 10 crash reports, and copy them. Now go to the reply box below and paste them in.

In the address bar, type '''about:crashes. Note:''' If any reports do not have '''BP''' in front of the numbers, click it and select '''Submit'''. Using your mouse, '''mark''' the most '''resent 7 - 10''' crash reports, and '''copy''' them. Now go to the reply box below and '''paste''' them in.

Spørgsmålsstiller

Hi FredMcD,

Thanks for the reply. Unfortunately, i don't see any crash reports in about:crashes. I am trying to reproduce the issue which will make browser to crash but somehow its not happening anymore but the browser gets stuck at a point. Here is what i am doing:

- 3 tabs are open with same page of my application. The page has several panels which has charts and the javascript libraries used for this page are backbone.js, underscore.js, require.js, highcharts.js - The page automatically reloads after every 30 seconds - After the first loading of there three tabs, the memory consumption is 600MB. But after 5 minutes, the memory consumption goes to 1.6GB and stays at this rate. - After sometime, the page wont load completely for any of the tabs. At this stage the browser becomes very slow and i have to either hard refresh the tabs or restart the browser.

Hi FredMcD, Thanks for the reply. Unfortunately, i don't see any crash reports in about:crashes. I am trying to reproduce the issue which will make browser to crash but somehow its not happening anymore but the browser gets stuck at a point. Here is what i am doing: - 3 tabs are open with same page of my application. The page has several panels which has charts and the javascript libraries used for this page are backbone.js, underscore.js, require.js, highcharts.js - The page automatically reloads after every 30 seconds - After the first loading of there three tabs, the memory consumption is 600MB. But after 5 minutes, the memory consumption goes to 1.6GB and stays at this rate. - After sometime, the page wont load completely for any of the tabs. At this stage the browser becomes very slow and i have to either hard refresh the tabs or restart the browser.
FredMcD
  • Top 10 Contributor
4266 løsninger 59821 svar

I have called for more help for you.

I am a novice in this area, but it sounds like the reloaded page is adding new processes at the reload, but not stopping the old processes.

I have called for more help for you. I am a novice in this area, but it sounds like the reloaded page is adding new processes at the reload, but not stopping the old processes.

Spørgsmålsstiller

Sure, thanks.

Yes, even i think something is not cleared or stopped on page reload.

Sure, thanks. Yes, even i think something is not cleared or stopped on page reload.

Spørgsmålsstiller

Hey FredMcD,

Any update on this? Thanks.

Hey FredMcD, Any update on this? Thanks.
FredMcD
  • Top 10 Contributor
4266 løsninger 59821 svar

I have put in a call. I may take a little time. Sorry :-/

I have put in a call. I may take a little time. Sorry''' :-/'''
guigs 1072 løsninger 11697 svar

Surprisingly this does not happen when I refresh the page, however the cpu does fluctuate up and down as I refresh the page in the Activity Monitor.

I would be happy to suggest about:memory as a tool to release unused memory or the add on Ram back to create a convenient button to release unused memory. Firefox uses too much memory or CPU resources - How to fix

Does this happen in Safe Mode? Troubleshoot Firefox issues using Safe Mode

Surprisingly this does not happen when I refresh the page, however the cpu does fluctuate up and down as I refresh the page in the Activity Monitor. I would be happy to suggest about:memory as a tool to release unused memory or the add on Ram back to create a convenient button to release unused memory. [[Firefox uses too much memory (RAM) - How to fix]] Does this happen in Safe Mode? [[Troubleshoot Firefox issues using Safe Mode]]

Spørgsmålsstiller

Hi guigs2,

Thanks for the reply. Actually, i have already tried all these things and unfortunately they were not helpful at all. The page works fine on all the other browsers. The issue happens only in Firefox.

Hi guigs2, Thanks for the reply. Actually, i have already tried all these things and unfortunately they were not helpful at all. The page works fine on all the other browsers. The issue happens only in Firefox.

Spørgsmålsstiller

I upgraded the firefox to the latest version (33.1) and still there is no improvement :(

I upgraded the firefox to the latest version (33.1) and still there is no improvement :(
guigs 1072 løsninger 11697 svar

Hi mp, Are the same add ons still valid for this performance, I did also find: https://addons.mozilla.org/en-US/firefox/addon/freememory/?src=search

Hi mp, Are the same add ons still valid for this performance, I did also find: https://addons.mozilla.org/en-US/firefox/addon/freememory/?src=search

Spørgsmålsstiller

Hi guigs2,

Unfortunately, this add-on also does not help much.

Hi guigs2, Unfortunately, this add-on also does not help much.

Spørgsmålsstiller

Since, this issue is still not resolved in the latest firefox version, i have filed a bug 1141242 (https://bugzilla.mozilla.org/show_bug.cgi?id=1141242)

Since, this issue is still not resolved in the latest firefox version, i have filed a bug 1141242 (https://bugzilla.mozilla.org/show_bug.cgi?id=1141242)