Memory leak when browser is idle or when large images have been displayed




12 years ago
12 years ago


(Reporter: notforyourmail, Unassigned)


2.0 Branch
Windows XP

Firefox Tracking Flags

(Not tracked)




12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

I've seen two variations on a memory leak in the new browser.

1) When I left for work this morning, my browser was using 62,788 K.  When I returned this evening, it was using approx. 80,500 K.  The browser had been idle, with a single tab open during that time.  The only part of the browser that should have been active is the RSS feed loader.

2) I downloaded a large number of large wallpaper images in separate tabs over a period of a day or two.  The browser was using up to 360,000 K or so.  Close all tabs but one.  Memory is not released.  Memory is only released when the browser is closed.  Similar results occur with every day browsing, even if very large images are not involved.

Reproducible: Always

Steps to Reproduce:
1. Record memory usage
1a. Bring up a web page or two.
2. Leave browser idle all day
3. Record memory usage again


1. Record memory usage
2. Browse lots of web pages, preferably with lots of distinct images, video, or other large content.  Using tabs seems to make it worse.
3. Close all tabs but one.  Browse to several small web pages, such as, to force the browser to stop caching any larger ones in memory
4. Record memory usage

Actual Results:  
Idle memory increase was about 20,000 K in about 1-2 minutes of actual CPU time (10 hours of real world time).

Active browsing memory increase was up to 360,000 K

Expected Results:  
Memory should be released when a page is not displayed.  An idle browser should not use additional memroy.

Comment 1

12 years ago
Confirming first behaviour (Idle Firefox continously eating memory) on

Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv: Gecko/20061204 Firefox/

Comment 2

12 years ago
#2 - images (of various types) are well known issues.

in keeping with good bug practices let's deal with only one issue per bug, which leaves #1 ...

Please reopen the bug if you have a URL that shows the behavior when it is the only URL loaded
Last Resolved: 12 years ago
Resolution: --- → INCOMPLETE
Version: unspecified → 2.0 Branch
You need to log in before you can comment on or make changes to this bug.