X
Tryk her for at gå til webstedets mobilversion.

Supportforum

Memory & Jank issues (/questions/1006397 &see998289)

Skrevet

Firefox doesn't play well with others: it allocates excessive memory and refuses to release it.

To eliminate the obvious... I do not have ABP installed. I use about:memory and Windows Resource Monitor (or taskmgr) to observe memory use (on Windows 7).

Firefox allocates a lot of memory (often upwards of 1.5GB on a 2GB machine) and is VERY loathe to release it. Even exiting the browser (by closing the window) still shows Firefox in memory (although "greyed out" in either resmon or taskmgr) ... and it refuses to "let go" for upwards of 60 seconds, even with nothing else running on the machine. (I don't have time to watch it past 60 sec. ... and starting a second Firefox process, while in this state, was tested, but does not "speed up" release of memory by the first process.)

> "I do not doubt what you say or that you have issues, just that it is not yet the sort of report that allows us to file a good bug with good Steps To Reproduce that we may pass on to an engineer to investigate."

And frankly, that is part of the problem. Routine, real-world use of the Web has outgrown the Mozilla/Firefox business model. I've submitted crash-reports in the past two weeks, where a specific web page would reliably exhaust well-over 1GB of RAM for Firefox ... but they disappear into a black hole. Meanwhile I spent hours of my time trying to find the cause myself, to produce a "good bug" for you... including close to an hour documenting this one.

The browser became "a utility" years ago, and the time has come where it must be treated (and supported) like one. Just possibly the day of a volunteer-built-and-supported browser is... over. (And I say this as a loyal Firefox user since at least 0.8)

Firefox doesn't play well with others: it allocates excessive memory and refuses to release it. To eliminate the obvious... I do not have ABP installed. I use about:memory and Windows Resource Monitor (or taskmgr) to observe memory use (on Windows 7). Firefox allocates a lot of memory (often upwards of 1.5GB on a 2GB machine) and is VERY loathe to release it. Even exiting the browser (by closing the window) still shows Firefox in memory (although "greyed out" in either resmon or taskmgr) ... and it refuses to "let go" for upwards of 60 seconds, even with nothing else running on the machine. (I don't have time to watch it past 60 sec. ... and starting a second Firefox process, while in this state, was tested, but does not "speed up" release of memory by the first process.) > "I do not doubt what you say or that you have issues, just that it is not yet the sort of report that allows us to file a good bug with good Steps To Reproduce that we may pass on to an engineer to investigate." And frankly, that is part of the problem. Routine, real-world use of the Web has outgrown the Mozilla/Firefox business model. I've submitted crash-reports in the past two weeks, where a specific web page would reliably exhaust well-over 1GB of RAM for Firefox ... but they disappear into a black hole. Meanwhile I spent hours of my time trying to find the cause myself, to produce a "good bug" for you... including close to an hour documenting this one. The browser became "a utility" years ago, and the time has come where it must be treated (and supported) like one. Just possibly the day of a volunteer-built-and-supported browser is... over. (And I say this as a loyal Firefox user since at least 0.8)

Yderligere systemdetaljer

Installerede plugins

I have manually copied-and-pasted plugin names and version numbers - because Firefox + add-on vendors are not consistent with where they identify products and versions - which could be a rant of its own!

  • Adobe Acrobat 11.0.9.29 (aka Adobe PDF Plug-In For Firefox and Netscape 11.0.9) (set to Ask To Activate, which I will call "A2A")
  • Citrix Online Web Deployment Plugin 1.0.0.104 (aka Citrix Online App Detector Plugin) (A2A)
  • HP Active Check Plugin 1.0.5.0 (always activate, or "AA")
  • HP Pit Plugin 1.0.1.0 (AA)
  • HP Product Detection Plugin for Mozilla 1.0.19.1 (AA)
  • Microsoft Office 2010 14.0.4761.1000 (A2A)
  • QuickTime Plug-in 7.7.5 (A2A)
  • Shockwave Flash 15.0.0.152 (A2A)
  • Shockwave Flash 13.0.0.214 (A2A)
  • SilverlightPlug-In 5.1.30514.0 (A2A)
  • iTunes Application Detector 1.0.1.1 (disabled)
  • Microsoft Office 2010 14.0.4730.1010 (disabled)
  • Shockwave for Director 12.0.1.150 (disabled)
  • Shockwave for Director 12.0.7.148 (disabled)
  • Shockwave for Director 12.0.5.146 (disabled)
  • Windows Live Photo Gallery 15.4.3538.513 (disabled)
  • Yahoo Application State Plug-In 1.0.0.7 (disabled)

EXTENSIONS (which you did not ask about, which seems a bit odd...) Google Analytics Opt-out Browser Add-On 0.9.6 HP Detect 1.0.19.2 NoScript 2.6.8.8 Troubleshooter 1.1a

Program

  • Firefox 32.0.3
  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
  • Support-URL: https://support.mozilla.org/1/firefox/32.0.3/WINNT/en-US/

Udvidelser

  • Google Analytics Opt-out Browser Add-on 0.9.6 ({6d96bb5e-1175-4ebf-8ab5-5f56f1c79f65})
  • HP Detect 1.0.19.2 ({ab91efd4-6975-4081-8552-1b3922ed79e2})
  • NoScript 2.6.8.8 ({73a6fe31-595d-460b-a920-fcc0f8843232})
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • Add to Amazon Wish List Button 1.10 (amznUWL2@amazon.com) (Inactive)
  • iGive Toolbar 3.5.46 ({E68155BA-066F-4CC9-B128-4A2627664264}) (Inactive)
  • Logitech SetPoint 6.5 ({F003DA68-8256-4b37-A6C4-350FA04494DF}) (Inactive)
  • McAfee Security Scan Plus 1.0 ({e4f94d1e-2f53-401e-8885-681602c0ddd8}) (Inactive)
  • Skype Click to Call 7.3.16540.9015 ({82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Grafik

  • adapterDescription: Mobile Intel(R) 4 Series Express Chipset Family
  • adapterDescription2:
  • adapterDeviceID: 0x2a42
  • adapterDeviceID2:
  • adapterDrivers: igdumd64 igd10umd64 igdumdx32 igd10umd32
  • adapterDrivers2:
  • adapterRAM: Unknown
  • adapterRAM2:
  • adapterVendorID: 0x8086
  • adapterVendorID2:
  • clearTypeParameters: Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 100
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.16571
  • driverDate: 2-11-2011
  • driverDate2:
  • driverVersion: 8.15.10.2302
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'direct2d', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 2
  • numTotalWindows: 2
  • webglRenderer: Google Inc. -- ANGLE (Mobile Intel(R) 4 Series Express Chipset Family Direct3D9Ex vs_3_0 ps_3_0)
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Direct3D 10

Ændrede indstillinger

  • accessibility.typeaheadfind.casesensitive: 1
  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 102400
  • browser.cache.disk.smart_size.enabled: False
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 1048576
  • browser.cache.frecency_experiment: 3
  • browser.places.smartBookmarksVersion: 7
  • browser.search.suggest.enabled: False
  • browser.search.update: False
  • browser.search.useDBForOrder: True
  • browser.sessionstore.upgradeBackup.latestBuildID: 20140923175406
  • browser.startup.homepage: about:blank
  • browser.startup.homepage_override.buildID: 20140923175406
  • browser.startup.homepage_override.mstone: 32.0.3
  • dom.max_chrome_script_run_time: 40
  • dom.max_script_run_time: 40
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 32.0.3
  • gfx.direct3d.checkDX10: False
  • gfx.direct3d.last_used_feature_level_idx: 1
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1412826806
  • places.history.expiration.transient_current_max_pages: 51877
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • plugin.state.np32dsw: 0
  • plugin.state.npauthz: 0
  • plugin.state.npitunes: 0
  • plugin.state.npwlpg: 0
  • plugin.state.npystate: 0
  • privacy.clearOnShutdown.cookies: False
  • privacy.clearOnShutdown.formdata: False
  • privacy.clearOnShutdown.history: False
  • privacy.cpd.cookies: False
  • privacy.cpd.offlineApps: True
  • privacy.donottrackheader.enabled: True
  • privacy.sanitize.migrateFx3Prefs: True
  • security.default_personal_cert: Select Automatically
  • security.disable_button.openCertManager: False
  • security.warn_viewing_mixed: False
  • storage.vacuum.last.index: 1
  • storage.vacuum.last.places.sqlite: 1378084083

Diverse

  • User JS: Nej
  • Tilgængelighed: Nej
Luk
CoryMH 229 løsninger 1076 svar

Hello,

Looking at your system details, you appear to have multiple versions of the same plugin installed which can cause problems. While you have disabled "Shockwave for Director", it might be a good idea to remove the older versions. Same with Flash - you have both version 13.0.0.214 and 15.0.0.152.

For Flash, you can download the uninstaller here: http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html

It will likely remove both versions (which may be a good idea since you don't know what the uninstaller will remove from version 13 that 15 uses) - so you can download a fresh copy of Adobe Flash here: https://get.adobe.com/flashplayer/

Hello, Looking at your system details, you appear to have multiple versions of the same plugin installed which can cause problems. While you have disabled "Shockwave for Director", it might be a good idea to remove the older versions. Same with Flash - you have both version 13.0.0.214 and 15.0.0.152. For Flash, you can download the uninstaller here: http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html It will likely remove both versions (which may be a good idea since you don't know what the uninstaller will remove from version 13 that 15 uses) - so you can download a fresh copy of Adobe Flash here: https://get.adobe.com/flashplayer/

Nyttigt svar

Removed old versions of Flash; no material difference in behavior. (But cleaner/simpler is theoretically better; it used-to-be that new versions of Flash would replace previous ones. The problems with Flash upgrades in the past couple years were well-documented... and I re-experienced all of them, as I removed all old versions and installed Flash 15.0.0)

I don't believe this is clearly related to 998289. Not using AdBlock Plus. My extensions are NoScript, Logitech SetPoint 6.5, HTTPS-Everywhere (but disabling it doesn't change the behavior), and a few cosmetic extensions for pre-Australis look and feel (Addon Bar (restored) 2.0, Back/forward dropmarker 1.0, Downloads Window 0.5.3)

The core issue at this time is sloppy memory management; allocating a lot, and FAILING to release it and exit in a timely manner, when closing the Firefox window.

Removed old versions of Flash; no material difference in behavior. (But cleaner/simpler is theoretically better; it used-to-be that new versions of Flash would replace previous ones. The problems with Flash upgrades in the past couple years were well-documented... and I re-experienced all of them, as I removed all old versions and installed Flash 15.0.0) I don't believe this is clearly related to 998289. Not using AdBlock Plus. My extensions are NoScript, Logitech SetPoint 6.5, HTTPS-Everywhere (but disabling it doesn't change the behavior), and a few cosmetic extensions for pre-Australis look and feel (Addon Bar (restored) 2.0, Back/forward dropmarker 1.0, Downloads Window 0.5.3) The core issue at this time is sloppy memory management; allocating a lot, and FAILING to release it and exit in a timely manner, when closing the Firefox window.

Ændret af BillM den

Nyttigt svar

Note that this problem is still outstanding. The consumption of excessive memory occurs across multiple websites, usually with nothing even-remotely "fancy" - e.g., no Flash. (I have taken the advice to purge old Flash versions, with little apparent effect.)

Just minutes ago, I had a single browser window open to a single site (no tabs) ... clicked the site's Exit button, and Firefox continued to INCREASE its memory consumption, until I eventually killed the process on my laptop.

How many ways can we spell, "UNACCEPTABLE?" We need better diagnostic tools, folks.

Note that this problem is still outstanding. The consumption of excessive memory occurs across multiple websites, usually with nothing even-remotely "fancy" - e.g., no Flash. (I have taken the advice to purge old Flash versions, with little apparent effect.) Just minutes ago, I had a single browser window open to a single site (no tabs) ... clicked the site's Exit button, and Firefox continued to INCREASE its memory consumption, until I eventually killed the process on my laptop. How many ways can we spell, "UNACCEPTABLE?" We need better diagnostic tools, folks.

Spørgsmålsstiller

Significant improvement with 33.0.1! Memory use (working set) is now in the 180MB vicinity and noticeably more stable than earlier 3x.* releases. I suspect you've at least pulled the low-hanging fruit off the tree. Will monitor behavior over the next few days to see if this improvement "sticks" (or to correlate any unusual memory use with specific activity or pages). I am noticing slow increase in working set size over time in a stable environment - e.g. has risen from 180 to 192MB in the time spent writing this message, then dropped-back to 189MB, rose again above 199MB... with no other activity than this page.

Significant improvement with 33.0.1! Memory use (working set) is now in the 180MB vicinity and noticeably more stable than earlier 3x.* releases. I suspect you've at least pulled the low-hanging fruit off the tree. Will monitor behavior over the next few days to see if this improvement "sticks" (or to correlate any unusual memory use with specific activity or pages). I am noticing slow increase in working set size over time in a stable environment - e.g. has risen from 180 to 192MB in the time spent writing this message, then dropped-back to 189MB, rose again above 199MB... with no other activity than this page.
FredMcD
  • Top 10 Contributor
4246 løsninger 59390 svar

Start Firefox in Safe Mode {web link} While you are in safe mode;

Type about:preferences<Enter> in the address bar

Select Advanced > General. Look for and turn off Use Hardware Acceleration.

Poke around safe web sites. Are there any problems?

Then restart.

'''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link} While you are in safe mode; Type '''about:preferences'''<Enter> in the address bar Select '''Advanced > General.''' Look for and turn off '''Use Hardware Acceleration'''. Poke around safe web sites. Are there any problems? Then restart.

Spørgsmålsstiller

Now suspecting a "slow memory leak" in Firefox 33. My general habit is to start Firefox and run it for 8+ hours without restarting the process.

Config: safe mode; hardware acceleration already disabled. Baseline memory consumption (start in safe mode, navigate to about:preferences, then to about:memory) reveals 154MB in use by Firefox (as shown by win7 Resource Monitor).

about:memory shows: 91MB explicit allocation, 20 decommitted, 1600+ event counts, 39MB js-main-runtime, 19MB js-main-runtime-gc-heap-committed, 149MB private, 409MB vsize.

After running GC from about:memory, those data are: 90MB explicit allocation, 26 decommitted, 1300 event counts, 32MB js-main-runtime, 15MB js-main-runtime-gc-heap-committed, 154MB private, 414MB vsize. (notice increases in both private and vsize, from doing nothing but garbage-collection. Memory leak?

In the 15 minutes used to gather/report these data, Resource Monitor shows Firefox memory has risen to 159.6MB... and about:memory data have risen to 92.14MB explicit allocation, 25 decommitted, 1300 event counts, 33MB js-main-runtime, 15MB js-main-runtime-gc-heap-committed, 155MB private, 414MB vsize... while the Firefox window sat completely idle (except for the single-click on "Measure" to refresh the about:memory data).

Will leave this Firefox instance alone, untouched, for some hours and see what changes.

Now suspecting a "slow memory leak" in Firefox 33. My general habit is to start Firefox and run it for 8+ hours without restarting the process. Config: safe mode; hardware acceleration already disabled. Baseline memory consumption (start in safe mode, navigate to about:preferences, then to about:memory) reveals 154MB in use by Firefox (as shown by win7 Resource Monitor). about:memory shows: 91MB explicit allocation, 20 decommitted, 1600+ event counts, 39MB js-main-runtime, 19MB js-main-runtime-gc-heap-committed, 149MB private, 409MB vsize. After running GC from about:memory, those data are: 90MB explicit allocation, 26 decommitted, 1300 event counts, 32MB js-main-runtime, 15MB js-main-runtime-gc-heap-committed, 154MB private, 414MB vsize. (notice increases in both private and vsize, from doing nothing but garbage-collection. Memory leak? In the 15 minutes used to gather/report these data, Resource Monitor shows Firefox memory has risen to 159.6MB... and about:memory data have risen to 92.14MB explicit allocation, 25 decommitted, 1300 event counts, 33MB js-main-runtime, 15MB js-main-runtime-gc-heap-committed, 155MB private, 414MB vsize... while the Firefox window sat completely idle (except for the single-click on "Measure" to refresh the about:memory data). Will leave this Firefox instance alone, untouched, for some hours and see what changes.

Spørgsmålsstiller

(Of best-laid plans and insufficient machines) Have not been able to leave my machine completely idle long enough to prove/disprove slow leaks. It would be nice if someone in the moz labs would try this.

(Of best-laid plans and insufficient machines) Have not been able to leave my machine completely idle long enough to prove/disprove slow leaks. It would be nice if someone in the moz labs would try this.
FredMcD
  • Top 10 Contributor
4246 løsninger 59390 svar

I've called the big guys to help you. Good luck.

I've called the big guys to help you. Good luck.

Spørgsmålsstiller

(Noted: No follow-up from 'big guys'.)

New variation on the same problem: Firefox 33.0.1 is a memory HOG.

I opened two tabs, to "watch" an NFL game... one tab for patriots.com (a text-only description of game activity), the second for radio.com (to hear the audio from a broadcast radio station).

Imagine my surprise: Windows Performance Monitor shows the firefox.exe process with these two tabs (and nothing else) consumes nearly 1.5 GB of RAM.

Repeat the same experiment with IE 11 ... it uses a total of just over 0.5GB (in two processes - one per tab, vs. Firefox's single process - but processes are relatively cheap compared to RAM.)

(Note there is NO video involved here.... and I am not upgrading to 34.x until I'm convinced it's reasonably stable. The ongoing problem reports suggest that it's not.)

(Noted: No follow-up from 'big guys'.) New variation on the same problem: Firefox 33.0.1 is a memory HOG. I opened two tabs, to "watch" an NFL game... one tab for patriots.com (a text-only description of game activity), the second for radio.com (to hear the audio from a broadcast radio station). Imagine my surprise: Windows Performance Monitor shows the firefox.exe process with these two tabs (and nothing else) consumes nearly 1.5 GB of RAM. Repeat the same experiment with IE 11 ... it uses a total of just over 0.5GB (in two processes - one per tab, vs. Firefox's single process - but processes are relatively cheap compared to RAM.) (Note there is NO video involved here.... and I am not upgrading to 34.x until I'm convinced it's reasonably stable. The ongoing problem reports suggest that it's not.)

Ændret af BillM den