1

Possible Duplicate:
How to Determine which Firefox Add-ons are Using the Most Memory

I use Mozilla Firefox 3.6 all day, opening and closing tabs quite regularly. I am noticing over time that the firefox.exe process size keeps growing and growing over time.

Initially I put this down to memory fragmentation caused by opening and closing tabs, but now I am suspecting that there is a memory leak in one of the add-ons that I have installed.

The problem I am seeing is that when the process size gets to about 1.5GB in the "Mem Usage" stat in Task Manager (and it gets there quite regularly), Firefox freezes up.

These are the add-ons I currently have installed:

  • Adblock Plus (1.1.3)
  • English (Australian) dictionary (2.1.1)
  • Gmail Notifier (0.6.4.1)
  • Google Reader Watcher (0.0.15.5)
  • Java Console (6.0.11)
  • Java Console (6.0.07) (Not sure why I have 2 versions of this)
  • Java Quick Starter (1.0)
  • Session Manager (0.6.7.4)

Are there any known memory leak issues with any of these?

Could something else by causing this problem?

3 Answers3

1

I had similar symptoms, so I started disabling addons at random. Eventually, the bloating stopped (I believe it was After The Deadline, but I could be wrong.)

Phoshi
  • 23,483
1

I think the main problem with apps like firefox that have constantly changing memory contents (due to opening and closing pages, changes to the DOM while these pages are open, other scripted activity in the pages, activity by plug-ins and so on) is memory fragmentation within the app's memory management routines as well as more explicit leaks.

I notice this quick often (though less often with FF3.5/3.6 than earlier versions), so have one of the many simple quick-restart add-ons installed. Firefox's session manager does a good job of reopening all my windows and tabs if I have any active at the time. Session level cookies seem to be preserved too, so I stay logged into applications like Zimbra and Pivotal Tracker.

I've never had the issue lock Firefox up as you describe, though it does get to the point of things slowing down so it may sometimes pause a couple of seconds when opening new tabs or closing old ones. I think this growing delay is due to it needing to work harder to maintain the growing and increasingly fragmented memory allocation structures. After the quick-restart this problem (and the excess memory used) is resolved for a while (until the memory allocated grows again, at which point I restart again).

1

If this were Stackoverflow, I might point you to the Debugging memory leaks page at the Mozilla developer wiki. I suspect you don't want to go to that much trouble though.

Hugh Allen
  • 10,120