X
Tap here to go to the mobile version of the site.

Support Forum

Excessive RAM used by Firefox

Posted

I'm getting a strange jump in memory use by Firefox. I'm monitoring Firefox memory use with the add-on called "Memory Restart." I keep 13 pinned tabs on my browser (they always load at boot-up). Those 13 tabs take up around 140MB of RAM. I also tend to keep around 50-100 tabs in my browser (I used Session Manager). But when I boot up, none of those tabs open until I click on a specific tab. See screen shot -- this is how my Firefox session typically boots.

After all the pinned tabs load Memory Restart shows around 140MB in use. About 10 seconds later I get a "flash" on the screen with a yellow banner under the tab section that says "Firefox memory has increased by more than 669MB since last refresh interval" (see image). Something is causing Firefox RAM use to jump immediately from 140MB to 669MB about 10 seconds after all my pinned tabs load. What could be causing this immediate large chunk of RAM use, even though none of the non-pinned tabs have been selected. ???

I'm getting a strange jump in memory use by Firefox. I'm monitoring Firefox memory use with the add-on called "Memory Restart." I keep 13 pinned tabs on my browser (they always load at boot-up). Those 13 tabs take up around 140MB of RAM. I also tend to keep around 50-100 tabs in my browser (I used Session Manager). But when I boot up, none of those tabs open until I click on a specific tab. See screen shot -- this is how my Firefox session typically boots. After all the pinned tabs load Memory Restart shows around 140MB in use. About 10 seconds later I get a "flash" on the screen with a yellow banner under the tab section that says "Firefox memory has increased by more than 669MB since last refresh interval" (see image). Something is causing Firefox RAM use to jump immediately from 140MB to 669MB about 10 seconds after all my pinned tabs load. What could be causing this immediate large chunk of RAM use, even though none of the non-pinned tabs have been selected. ???
Attached screenshots

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 15.17.20050
  • Fuze Browser Extension
  • Google Update
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 11.40.2 for Mozilla browsers
  • Office Authorization plug-in for NPAPI browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • NVIDIA 3D Vision Streaming plugin for Mozilla browsers
  • NVIDIA 3D Vision plugin for Mozilla browsers
  • NPWLPG
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Shockwave Flash 23.0 r0
  • 5.1.50709.0
  • iTunes Detector Plug-in

Application

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

Extensions

  • Adblock Plus 2.7.3 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Adblock Plus Pop-up Addon 0.9.2.1-signed.1-signed (adblockpopups@jessehakanen.net)
  • All-in-One Sidebar 0.7.30 ({097d3191-e6fa-4728-9826-b533d755359d})
  • Bookmark Current Tab Set 0.2.4.1-signed.1-signed (bookmarkcurrenttabset@jake.kasprzak.ca)
  • ColorfulTabs 31.0.8 ({0545b830-f0aa-4d7e-8820-50a4629a56fe})
  • FlashGot 1.5.6.13 ({19503e42-ca3c-4c27-b1e2-9cdb2170ee34})
  • Free Memory 0.96.1.1-signed (jid1-n85lxPv1NAWVTQ@jetpack)
  • Memory Restart 1.18.1-signed.1-signed (memoryrestart@teamextension.com)
  • Multi-process staged rollout 1.2 (e10srollout@mozilla.org)
  • Pocket 1.0.4 (firefox@getpocket.com)
  • Session Manager 0.8.1.12 ({1280606b-2510-4fe0-97ef-9b5a22eafe30})
  • Tab Counter 1.9.9.3 (tabcounter@morac)
  • Tab Memory Usage 0.2.7 (jid1-fRvgLzKONCsPew@jetpack)
  • Tab Mix Plus 0.5.0.0 ({dc572301-7619-498c-a57d-39143191b318})
  • Web Compat 1.0 (webcompat@mozilla.org)
  • Logitech SetPoint 6.5 ({F003DA68-8256-4b37-A6C4-350FA04494DF}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: NVIDIA GeForce GTX 560
  • adapterDescription2:
  • adapterDeviceID: 0x1201
  • adapterDeviceID2:
  • adapterDrivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
  • adapterDrivers2:
  • adapterRAM: 1024
  • adapterRAM2:
  • adapterSubsysID: 0895196e
  • adapterSubsysID2:
  • adapterVendorID: 0x10de
  • adapterVendorID2:
  • crashGuards: []
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.17568
  • driverDate: 6-17-2015
  • driverDate2:
  • driverVersion: 10.18.13.5330
  • driverVersion2:
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'available', u'description': u'Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'HW_COMPOSITING'}, {u'status': u'available', u'description': u'Direct3D11 Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_COMPOSITING'}, {u'status': u'available', u'description': u'Direct3D9 Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D9_COMPOSITING'}, {u'status': u'available', u'description': u'Direct2D', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'DIRECT2D'}, {u'status': u'available', u'description': u'Direct3D11 hardware ANGLE', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_HW_ANGLE'}]}
  • info: {u'AzureCanvasAccelerated': 0, u'AzureCanvasBackend': u'direct2d 1.1', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d 1.1'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • supportsHardwareH264: Yes; Using D3D9 API
  • webglRenderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 560 Direct3D11 vs_5_0 ps_5_0)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
FredMcD
  • Top 10 Contributor
4195 solutions 58553 answers

Helpful Reply

Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift><br> ''(Mac=Options)'' ''' key, and then starting Firefox. A small dialog should appear. Click '''Start In Safe Mode''' (not Refresh). Is the problem still there? -------------- '''https://support.mozilla.org/en-US/kb/websites-look-wrong-or-appear-differently''' '''https://support.mozilla.org/en-US/kb/firefox-slow-how-make-it-faster''' '''https://support.mozilla.org/en-US/kb/firefox-uses-too-many-cpu-resources-how-fix''' '''https://support.mozilla.org/en-US/kb/firefox-hangs-or-not-responding''' '''https://support.mozilla.org/kb/Firefox+is+already+running+but+is+not+responding'''
jscher2000
  • Top 10 Contributor
8586 solutions 70239 answers

Also, I would try unpinning Facebook (to defer loading) to see whether it is the culprit. The news feed with its "endless scrolling" causes Firefox to use a lot of memory. If it's not Facebook, hmm...

Also, I would try unpinning Facebook (to defer loading) to see whether it is the culprit. The news feed with its "endless scrolling" causes Firefox to use a lot of memory. If it's not Facebook, hmm...

Question owner

Thanks jscher and Fred.

I started Firefox with just one tab open, and Memory Restart told me that Firefox was using 490MB, just by being open. Does that sound right?

If I start in safe mode, how can I tell how much RAM Firefox is using?

Thanks jscher and Fred. I started Firefox with just one tab open, and Memory Restart told me that Firefox was using '''490MB''', just by being open. Does that sound right? If I start in safe mode, how can I tell how much RAM Firefox is using?
FredMcD
  • Top 10 Contributor
4195 solutions 58553 answers

Helpful Reply

Open the computer's Task Manager.

In Safe Mode, does Firefox seem to run better?

Open the computer's Task Manager. In Safe Mode, does Firefox seem to run better?
jscher2000
  • Top 10 Contributor
8586 solutions 70239 answers

I have 9 windows open, some with several active tabs, and the Windows 7 Task Manager "Processes" tab shows:

firefox.exe

  • Memory (Private Working Set): 859,888 K (about 860MB)
  • Commit Size: 913,272 K (about 913MB)

So 490MB for one tab seems high to me.

I don't know how Memory Restart counts memory use. Could you compare the Task Manager? Ctrl+Shift+Esc to launch it, and you can add columns that seem interesting using the View menu.

I have 9 windows open, some with several active tabs, and the Windows 7 Task Manager "Processes" tab shows: firefox.exe * Memory (Private Working Set): 859,888 K (about 860MB) * Commit Size: 913,272 K (about 913MB) So 490MB for ''one tab'' seems high to me. I don't know how Memory Restart counts memory use. Could you compare the Task Manager? Ctrl+Shift+Esc to launch it, and you can add columns that seem interesting using the View menu.

Question owner

Looking at Task Manager / Firefox

Boot with one tab open in safe mode: 140MB

Boot with one tab in normal mode with all 15 add-on's active: 370MB

Booth with one tab in normal mode with all add-on's disabled: 220MB.

Did a test to see which of the add-ons are the memory hogs.

Ad Block Plus = 100MB (!) Session Manager = 20MB

The other 13 add-on's had far smaller RAM footprints.

Do these numbers sound about right?

My original reason for asking this question was that my Firefox browser is often far slower than Chrome. I did some tests this AM with browser benchmark s/w and all benchmarks showed Firefox 49 to be about 40% slower than Chrome. Which led me to start looking at memory management, etc..

Looking at Task Manager / Firefox Boot with one tab open in safe mode: 140MB Boot with one tab in normal mode with all 15 add-on's active: 370MB Booth with one tab in normal mode with all add-on's disabled: 220MB. Did a test to see which of the add-ons are the memory hogs. Ad Block Plus = 100MB (!) Session Manager = 20MB The other 13 add-on's had far smaller RAM footprints. Do these numbers sound about right? My original reason for asking this question was that my Firefox browser is often '''far''' slower than Chrome. I did some tests this AM with browser benchmark s/w and all benchmarks showed Firefox 49 to be about 40% slower than Chrome. Which led me to start looking at memory management, etc..
jscher2000
  • Top 10 Contributor
8586 solutions 70239 answers

Memory definitely is one factor. There's a new internal page called

about:performance

which can identify extensions and loaded pages which are causing a slowdown. I've peeked at it but don't really understand all of what it is telling me.

To load that page, type or paste its address in the address bar and press Enter to load it. Many times, it flags itself as slowing down Firefox!

Memory definitely is one factor. There's a new internal page called '''about:performance''' which can identify extensions and loaded pages which are causing a slowdown. I've peeked at it but don't really understand all of what it is telling me. To load that page, type or paste its address in the address bar and press Enter to load it. Many times, it flags itself as slowing down Firefox!
jscher2000
  • Top 10 Contributor
8586 solutions 70239 answers

There definitely are advocates for switching from Adblock Plus to uBlock Origin for performance reasons. I'm not sure where you can find a fair comparison, but you might look into it.

There definitely are advocates for switching from Adblock Plus to uBlock Origin for performance reasons. I'm not sure where you can find a fair comparison, but you might look into it.

Question owner

uBlock dropped my RAM usage about 90MB. Nice call! Thanks so much.

about:performance showed no red flags (except about:performance!!)

I actually did a number of changes to Firefox today, based on advice from the following sites:

http://wikimatze.de/making-firefox-as-fast-as-chrome http://www.makeuseof.com/tag/5-firefox-runs-slow-browsers-run-fast/ https://www.servethehome.com/firefox-is-eating-your-ssd-here-is-how-to-fix-it/#comment-361107 https://www.davidtan.org/tips-reduce-firefox-memory-cache-usage/

After all the changes, I re-ran Basemark. Firefox was 25% SLOWER. Haha.

Life is complex.

uBlock dropped my RAM usage about 90MB. Nice call! Thanks so much. about:performance showed no red flags (except about:performance!!) I actually did a number of changes to Firefox today, based on advice from the following sites: http://wikimatze.de/making-firefox-as-fast-as-chrome http://www.makeuseof.com/tag/5-firefox-runs-slow-browsers-run-fast/ https://www.servethehome.com/firefox-is-eating-your-ssd-here-is-how-to-fix-it/#comment-361107 https://www.davidtan.org/tips-reduce-firefox-memory-cache-usage/ After all the changes, I re-ran Basemark. Firefox was 25% '''SLOWER'''. Haha. Life is complex.
jscher2000
  • Top 10 Contributor
8586 solutions 70239 answers

A lot of performance optimization checklists are based on assumptions about your system and sites you visit, and possibly older versions of Firefox, so you may need to reality-check a lot of those suggestions.

Do you notice a lot of disk access? That's a common bottleneck since spinning hard drives and even SSDs may be the slowest link, especially if you have a high speed unlimited use internet connection. In that case, some users have reported that reducing the disk cache size on the Options page improves overall performance.

A lot of performance optimization checklists are based on assumptions about your system and sites you visit, and possibly older versions of Firefox, so you may need to reality-check a lot of those suggestions. Do you notice a lot of disk access? That's a common bottleneck since spinning hard drives and even SSDs may be the slowest link, especially if you have a high speed unlimited use internet connection. In that case, some users have reported that reducing the disk cache size on the Options page improves overall performance.

Question owner

Ah ha. I reduced the disk cache size and it increased my benchmarks by 35%. Thanks!

Ah ha. I reduced the disk cache size and it increased my benchmarks by 35%. Thanks!
gslrider 1 solutions 31 answers

This totally sounds like a memory issue within Firefox. Which is an old issue that's never been resolved. At least for me. And I've been using Firefox since before it was Firefox. When it was Netscape. So when Mozilla came out with Firefox, I naturally switched over. That's when Firefox was awesome. Progressively got worse after 4.0.

However, I finally found a definite fix for my Firefox memory leak issue. I switched to Chrome. Seriously. Not by choice, but sheer necessity. Couldn't deal with how Firefox hogging memory was messing with my system. Yes, it was Firefox. Cuz when I quit Firefox, my system was happy again.

Since Firefox 4.0 came out, I've had memory leak issues (never a problem pre 4.0). And to this very day, still have memory leak issues. After 2 days of running Firefox it jacks up to using over 2GB of physical memory. 2GB!! I've tried all the tips. ALL THE TIPS. Let's make that clear. From forums to Firefox themselves. NOTHING works. NOTHING. Including the ones mentioned here. Then I finally found a fix! I switched to Chrome! Without having to jump through hoops or going into config and mucking around with settings. Plug and play if you will.

How do I know it was fixed, well let me tell you. I'm on a Mac system, I watch the memory usage on Activity Monitor. I loaded the same plug-ins and extensions that I used in Firefox, on to Chrome (lucky they had Chrome versions of them), and deleted the ones that weren't. So under the hood, when it came to plugins and extensions, they were the same. Both browsers are the latest versions. On a full reboot of my system. Then I did exactly the same things I've always done on Firefox on Chrome. Hitting the same sites, and downloading same files. Within 2 days, I checked Activity Monitor, Firefox was hitting around 1.7GB (started on launch at 487MB), Chrome...582MB (started on launch at 500MB). I let Chrome go without quitting for the rest of the week, and it never broke 600MB. And sometimes, it would even go down. Without me having to quit for it to release memory. THAT is how a browser should be dealing with memory. And really, it's neither faster or slower than Firefox.

I've never wanted to switch to Chrome, because I like the feel of Firefox better. As well, Firefox had better plugins/extensions and themes (imo). But now, they are on pretty much on par when it comes to those things. And although I still like the feel of Firefox better. I've gotten used to how Chrome feels. So not having memory issues anymore with Chrome vs slightly better feel when using Firefox, is more than a fair trade off for me. Sorry Mozilla, but you had to go. Firefox just messes with my system, no matter what I do.

This may not apply to all, but anyone that still have issues with Firefox bogging your system because of memory leaks? Switch to Chrome. And see for yourself.

This totally sounds like a memory issue within Firefox. Which is an old issue that's never been resolved. At least for me. And I've been using Firefox since before it was Firefox. When it was Netscape. So when Mozilla came out with Firefox, I naturally switched over. That's when Firefox was awesome. Progressively got worse after 4.0. However, I finally found a definite fix for my Firefox memory leak issue. I switched to Chrome. Seriously. Not by choice, but sheer necessity. Couldn't deal with how Firefox hogging memory was messing with my system. Yes, it was Firefox. Cuz when I quit Firefox, my system was happy again. Since Firefox 4.0 came out, I've had memory leak issues (never a problem pre 4.0). And to this very day, still have memory leak issues. After 2 days of running Firefox it jacks up to using over 2GB of physical memory. 2GB!! I've tried all the tips. ALL THE TIPS. Let's make that clear. From forums to Firefox themselves. NOTHING works. NOTHING. Including the ones mentioned here. Then I finally found a fix! I switched to Chrome! Without having to jump through hoops or going into config and mucking around with settings. Plug and play if you will. How do I know it was fixed, well let me tell you. I'm on a Mac system, I watch the memory usage on Activity Monitor. I loaded the same plug-ins and extensions that I used in Firefox, on to Chrome (lucky they had Chrome versions of them), and deleted the ones that weren't. So under the hood, when it came to plugins and extensions, they were the same. Both browsers are the latest versions. On a full reboot of my system. Then I did exactly the same things I've always done on Firefox on Chrome. Hitting the same sites, and downloading same files. Within 2 days, I checked Activity Monitor, Firefox was hitting around 1.7GB (started on launch at 487MB), Chrome...582MB (started on launch at 500MB). I let Chrome go without quitting for the rest of the week, and it never broke 600MB. And sometimes, it would even go down. Without me having to quit for it to release memory. THAT is how a browser should be dealing with memory. And really, it's neither faster or slower than Firefox. I've never wanted to switch to Chrome, because I like the feel of Firefox better. As well, Firefox had better plugins/extensions and themes (imo). But now, they are on pretty much on par when it comes to those things. And although I still like the feel of Firefox better. I've gotten used to how Chrome feels. So not having memory issues anymore with Chrome vs slightly better feel when using Firefox, is more than a fair trade off for me. Sorry Mozilla, but you had to go. Firefox just messes with my system, no matter what I do. This may not apply to all, but anyone that still have issues with Firefox bogging your system because of memory leaks? Switch to Chrome. And see for yourself.