Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: firefox memory usage - 1GB!

08 Jun 2015   #1
tgfyhre

Windows 7 32bit Home Premium
 
 
firefox memory usage - 1GB!

My firefox uses tons of memory. It's not unusual after an hour or two of browsing to end up with 800mb-1gb of memory usage, according to windows task manager. I do have a lot of add-ons enabled.

So I installed the "about:addons-memory" add-on today, which shows the current memory usage of each add-on. According to the add-on, all the add-ons together, including Firefox itself, is using 79.81mb currently. I also installed the plugin "Tab Data" which shows how much memory each tab is using. Currently the one open tab is using 1.42mb.

Currently Windows task manager shows Firefox is using 303mb, with just a single tab open (about:addons-memory).

I have a few plugins enabled but most are set to either "ask to activate" or "never activate".

So why is Firefox using 303mb with only a single tab open when the add-ons seem to be using so little memory? I did notice one little bit of info at the bottom of "about:addons-memory":

"Note: Many Add-ons, especially non-JetPack ones, may include static or dynamic overlays that may add scripts, DOM or styles directly to the browser. Such things cannot be distinguished from the browser itself and hence cannot be counted towards the add-on. As a result the actual add-on memory usage may be a lot higher than reported here!"

When I start Firefox in safe mode, it starts with around 100mb memory usage according to windows task manager. With add-ons re-enabled it starts back up at around 250mb on Google's search page. Is the "about:addons-memory" add-on just reporting false memory readings about the addons? It must. Is there any way to get actually memory usage of each add-on so I can pinpoint what is causing the issue, or could it be that they are all using more than it is showing? The thing is, my add-ons are installed for a reason - I use them. But 1gb of memory usage seems extreme - it seems that even after I close all my tabs, it still uses the same amount of memory until I close Firefox and restart.


My System SpecsSystem Spec
.
08 Jun 2015   #2
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

How many threads on this are needed? So enable add ons one at a time and exit - relauch FF and check memory usage after each add on is enabled.

Also consider that you might eventually need to back up your profile and clean install firefox.

Re: Tabs. Did you ever try the trim_on_minimize tweak?
firefox memory usage - 1GB!-about_config-cyberfox.jpg
Also a quick note to say that personally I had an issue recently with an add on that was no longer supported but was left installed. Removing that add on solved the issue.


My System SpecsSystem Spec
09 Jun 2015   #3
tgfyhre

Windows 7 32bit Home Premium
 
 

The trim_on_minimize tweak does nothing for me. I created the entry and set it to true but minimizing makes zero difference in memory usage by Firefox.
My System SpecsSystem Spec
.

09 Jun 2015   #4
tgfyhre

Windows 7 32bit Home Premium
 
 

The thead I started on Amazon working oddly was totally separate from the memory usage of Firefox in general. Amazon is the only site that gives me that issue which is why I started a different thread about it.

Anyways, this was a nice waste of an afternoon. Totally uninstalled Firefox following your guide on the other thread. Used MozBackup, Revo uninstaller, ran ccleaner, wiped profile, rebooted, ran ccleaner again, then re-installed the latest Firefox.

Memory usage immediately after re-installing: 160mb - just as before

Used Mozbackup to restore bookmarks and extensions. Memory usage immediately after restarting and configuring extensions: 350mb, just as before.

After a short while browsing - memory usage: 500mb - 1GB, just as before.

So I give up. I tried individually disabling each and every extension last night, and restarting Firefox between tries. No individual extension seemed to have any noticeable effect on memory usage, other than a few MB at most. Yet in safe mode it immediately drops from 350mb at startup to 160mb. So I can't figure it out. It seems disabling individual extensions only makes a small impact, yet all disabled in safe mode makes a huge impact. According to "about:addons-memory" all my extensions added together are only hitting under 80MB, so I don't get it. Also, there seems to be major memory leaks, as the longer I surf, the more memory gets used up, even after I close all but 1 tab. I think Firefox just has terrible memory manamagement. That might not be so important on a 64bit system with 8-16GB, but on my 32bit system with 3GB, Firefox is taking a significant chunk of memory from me.

I'm giving up on this I guess - I'm hoping to get a new system later this year once Windows 10 comes out, depending on what processors are out there. For now I guess I just have to suffer with the high memory usage.
My System SpecsSystem Spec
09 Jun 2015   #5
Not Myself

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

My System SpecsSystem Spec
09 Jun 2015   #6
tgfyhre

Windows 7 32bit Home Premium
 
 

First thing I try to do according to that guide is:

image.mem.min_discard_timeout_ms

and that doesn't even exist in about:config.

So I created an integer value and set it to 10000. I'll see if that makes any difference.

EDIT: yeah, as expected, that made no difference from what I can see. Right now I'm at 580MB with only a few tabs open. All the tabs together are using about 60MB total. And firefox starts up around 350MB. So... why is it now up to almost 600MB? Firefox has awful memory management.
My System SpecsSystem Spec
09 Jun 2015   #7
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

I've always clean reinstalled Firefox if it ever developed problems (after backing up profile, bookmarks and extensions) - problems can arise after installing major upgrades (updates) for Firefox and after installing or failing to remove problem add ons.

I've got the portable version (used for test purposes only) and use 64bit Firefox variants instead. Not sure why you want to stick with the 32bit version unless you need Java enabled in your browser.
My System SpecsSystem Spec
09 Jun 2015   #8
tgfyhre

Windows 7 32bit Home Premium
 
 

Why wouldn't I use the 32bit version? My system is 32bit.
My System SpecsSystem Spec
10 Jun 2015   #9
Andyrids

Windows 7 x64 SP1
 
 

What version are you using ? I found v29 worked well and once they changed the GUI in v30 things started to go wrong v32 and v37 is sort of ok v38 lots of problems again.

I am using v37 and after completely un-installing and deleting the profile (all I saved was an export of my bookmarks) then re-downloading all the plugins / extensions again it is working better than it was (still no where near perfect though) I noticed that by not having Silverlight installed made a significant difference also... I avoided all the usual recommended tweaks in about:config also this time as I found that in my case they never made any noticeable difference anyway. In comparison to yours I would say mine is using roughly 100mb less however if I have more than 4 tabs open with sites that use Flash then the memory usage is unpredictable. IDM and KeeFox can cause it to be troublesome also... make sure plugin container is not blocked by your firewall as that repeatedly trying to access the net and failing bumps the memory usage up.

I dunno I am no expert on the subject, to me it seems like FF is a bit foxed in the last 9 versions and does not play nice with Flash being the bottom line... I just thought it might be of some use to you if I told you what I have tried... not really found a concrete solution as yet but like I say it is better than it was.
My System SpecsSystem Spec
10 Jun 2015   #10
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Firefox version?

Quote   Quote: Originally Posted by tgfyhre View Post
Why wouldn't I use the 32bit version? My system is 32bit.
I hadn't spotted that!
My System SpecsSystem Spec
Reply

 firefox memory usage - 1GB!




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
chkdsk high memory usage / memory leak
Has anyone else noticed that chkdsk uses all available physical memory (if you let it run long enough)? I find that if I run chkdsk and watch the memory usage in task manager it jumps by about 50MB every 2 seconds or so until it either finishes or hits around 3.2GB at which point my physical...
Performance & Maintenance
General Win7 memory leak and Unknown memory usage?
So I've had this problem for a few months with my thinkpad x220, win7 home premium 64 bit. I used ccleaner, run memtest86 multiple times, chkdsk multiple times, sfc scan multiple times, none that helped. Sfc always detects errors but always cannot fix some of them. I have mse, avast, and...
Performance & Maintenance
Firemin, reduce Firefox Memory usage
Source Not tried myself, since I use Opera almost 100%, but worthwhile if you have memory issues with FF. A Guy
Browsers & Mail
Mozilla finds a way to reduce Firefox memory usage
Source A Guy
Browsers & Mail
Windows 7 random CPU usage and high physical memory usage!!!
Ok, I am literally KILLING myself over this! I installed Windows 7 64Bit over XP around a month ago and it was so good that I recommended it to my brother who was previously on XP too. We got him a copy of the 32bit version as he has only 2gb of memory, and he installed it on his machine....
Performance & Maintenance
Firefox - Reducing Memory Usage
How to Reduce Firefox Memory Usage in Windows 7 When you use the computer, probably running many software, each of them needs ram memory. RAM is very important , because the faster the frequency of the RAM the faster the software runs. In this tutorial we will move Firefox to your hard drive...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App