• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Mozilla Still Perplexed as to Why Firefox Takes So Much RAM

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
A lot of it has to do with the way it caches pages. If you type about:config in the address bar and hit enter, then do a search for cache, you can fine tune the amount of memory it uses. You can even completely disable it's caching to ram, but that slows down revisiting pages quite a bit. While not the best, mine never goes over 90MB, and I have 18 extensions running.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,577 (2.37/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
as someone else pointed out, it has more to do with where the memory goes after you close tabs. normally i will have 5 or 6 tabs open. when i close 4 of them out FF still uses the same amount of memory. very strange.
 

MadCow

New Member
Joined
Jun 8, 2007
Messages
544 (0.09/day)
Processor Athlon 64 X2 4400+ @2.6 GHz
Motherboard DFI LanParty UT CFX3200
Cooling 120mm Yate Loon fan intake, 82mm ex-PSU fan exhaust
Memory 2048 mb. of cheap DDR400 RAM w/cheap heatspreaders
Video Card(s) Sapphire+HIS X1950 PRO, Crossfired@635/709
Storage WD 250 GB SATA
Display(s) Samsung 216BW
Case No-name ATX case (modded to hell)
Audio Device(s) SB X-FI OEM
Power Supply Nikao Cool Power 500W (34a@12v)
Software Windows XP PRO SP2
Mine does that too. Using 120mb with 2 tabs open.
 

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
as someone else pointed out, it has more to do with where the memory goes after you close tabs. normally i will have 5 or 6 tabs open. when i close 4 of them out FF still uses the same amount of memory. very strange.
Right, that's why I said "a lot of the reason", not the whole reason. If you limit the amount it caches, it doesn't build up near as much.
 

OnBoard

New Member
Joined
Sep 16, 2006
Messages
3,033 (0.46/day)
Location
Finland
Processor Core i5-750 @ 3.6GHz 1.136V 24/7
Motherboard Gigabyte P55A-UD3, SATA 6Gbit/s & USB3.0 baby!
Cooling Alpenföhn Brocken HeatpipeDirectTouch
Memory Geil Ultra Series 4GB 2133MHz DDR3 @ 1440MHz 7-7-7-24
Video Card(s) Gigabyte GTX 460 1GB OC (mostly stock speeds)
Storage OS: Samsung F3 500GB Games: Samsung F1 640GB
Display(s) new! Samsung P2350 23" FullHD 2ms / Mirai DTL-632E500 32" LCD
Case new! Xigmatek Midgard/Utgard side window with red cathodes, 1x140mm & 3x120mm fans
Audio Device(s) new! ASUS Xonar DG & JVC HA-RX700 headphones
Power Supply Cougar CM 700W Modular
Software Windows 7 Home Premium x64
Benchmark Scores Logitech UltraX Premium & G5 laser v2 + Ulti-mat Breathe X2 for fragging
I have limited it to 10MB from when I started using FF (just like I did with IE), default is 50MB. Earlier in this thread i said it uses 205MB, well now it uses 225MB (226MB..227MB) tomorrow more.. (now 228MB) Something is really wrong with it :) (230MB and I honestly typed those mem usages while I wrote this..)
 

p_o_s_pc

F@H&WCG addict
Joined
May 2, 2007
Messages
13,006 (2.03/day)
Location
Newark ohio
System Name el'lappy|Cruncher | Cruncher 2
Processor intel C2D T6400 | i7 3770k @4.2ghz | AII X2 220 @3.4ghz
Motherboard some Acer | Asus P8Z77-V Pro |Gigabyter GA-M61p-S3
Cooling dual 80mm cooling fan | WC'ing ) |cheapo
Memory 2x2gb ddr3 | 2x2gb Ripjaws 1600 |4x512mb D9s
Video Card(s) onboard | 60 1GB(hd7770 ) |8800GTS
Storage Momuntus xt 320gb |Kingston Hyper X 120gb SATA III|500gb WD
Display(s) 17in | 42" 1080P HD 3D TV
Case lappy case | CM HAF XB |none yet
Audio Device(s) onboard | onboard | onboard
Power Supply Dell brick w/ acer end end | Antec EW 650w |Antec SP 350w(upg.soon)
Software Windows 7 Ult. 64bit---->------->
I am using 52mb right now that is with 3 tabs open and all add-ons disabled.
 
Joined
Oct 1, 2006
Messages
652 (0.10/day)
Location
Germany
Processor AMD Phenom II X2 550 @3600MHz (VCore -0.05V)
Motherboard Gigabyte MA-780G-DS3H (AMD SB700), BIOS: 04/14/09
Cooling Scythe Samurai cooled by 2x Enermax Warp 80mm ~700 RPM
Memory 2x 1GB GeIL Ultra DDR2-800 @1066 CL4-5-5-15 2T
Video Card(s) MSI R4830 OC (HD4830)
Storage Samsung 400 GB S-ATA, WD 400GB S-ATA
Display(s) Samsung 2433BW 1920 x 1200 Pixel (16:10)
Case timeless office tower ;)
Audio Device(s) Asus Xonar D1
Power Supply be quiet! Straight Power BQT E7-400W
Software Windows XP Pro 32bit
55 MB | 3 tabs | 11 add-ons enabled.
 
I

insider

Guest
Now 8 tabs open, 1.026GB of ram used for firefox, record ram usage is around 1.7GB for firefox on my system, it's on 24/7 mind you.
 

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
Now 8 tabs open, 1.026GB of ram used for firefox, record ram usage is around 1.7GB for firefox on my system, it's on 24/7 mind you.
It has to be a problem with an extension or a setting. That's not even close to normal FF behavior, even with the memory leak.
 
I

insider

Guest
Addons: 3, Real player plugin, talkback, Java runtime environment.

Disk cache is disabled on the browser.

RSS feeds: 19
 

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
Addons: 3, Real player plugin, talkback, Java runtime environment.

Disk cache is disabled on the browser.

RSS feeds: 19
Diskcache won't effect ram usage. browser.cache.memory.* is what you are looking for.
 
I

insider

Guest
This is what I have:

Code:
                                                            Status     Type               Value
browser.cache.memory.enable        true         boolean           true
 

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
This is what I have:

Code:
Status     Type               Value
browser.cache.memory.enable        true         boolean           true

Here's mine.
 

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
Joined
May 19, 2007
Messages
7,662 (1.20/day)
Location
c:\programs\kitteh.exe
Processor C2Q6600 @ 1.6 GHz
Motherboard Anus PQ5
Cooling ACFPro
Memory GEiL2 x 1 GB PC2 6400
Video Card(s) MSi 4830 (RIP)
Storage Seagate Barracuda 7200.10 320 GB Perpendicular Recording
Display(s) Dell 17'
Case El Cheepo
Audio Device(s) 7.1 Onboard
Power Supply Corsair TX750
Software MCE2K5

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
Version 2.0.0.9
It should be in there then. Right click in the about:config window somewhere, and select new-->Integer

Should walk you thru the step needed to make it.
 

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
Wouldn't create integer when I select it only a string value.

That's weird. It works on mine. I created browser.cache.memory.capacity2 and it worked.

Did you put the dots in the name? You have to do that. And after you enter the name, it should let you input a value in another pop-up box. (The value for that setting is in KB, 1024=1MB)
 

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
I

insider

Guest
Current FF ram usage 209MB after under 20 mins and increasing...
 

Wile E

Power User
Joined
Oct 1, 2006
Messages
24,318 (3.67/day)
System Name The ClusterF**k
Processor 980X @ 4Ghz
Motherboard Gigabyte GA-EX58-UD5 BIOS F12
Cooling MCR-320, DDC-1 pump w/Bitspower res top (1/2" fittings), Koolance CPU-360
Memory 3x2GB Mushkin Redlines 1600Mhz 6-8-6-24 1T
Video Card(s) Evga GTX 580
Storage Corsair Neutron GTX 240GB, 2xSeagate 320GB RAID0; 2xSeagate 3TB; 2xSamsung 2TB; Samsung 1.5TB
Display(s) HP LP2475w 24" 1920x1200 IPS
Case Technofront Bench Station
Audio Device(s) Auzentech X-Fi Forte into Onkyo SR606 and Polk TSi200's + RM6750
Power Supply ENERMAX Galaxy EVO EGX1250EWT 1250W
Software Win7 Ultimate N x64, OSX 10.8.4
Current FF ram usage 209MB after under 20 mins and increasing...
Are you still set for 256MB cache? If so, it should get to around 350MB. If it goes higher, you have an add-on problem for sure. Next step is to try to disable your add-ons, one by one, to find the culprit.
 
Top