Closed Bug 273566 Opened 20 years ago Closed 19 years ago

Memory leak when animated GIF used as background-image, even at idle

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: mozilla, Assigned: bugzilla)

References

()

Details

(Keywords: memory-leak)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

When an animated GIF is applied as the background-image of a DIV, memory usage
in Firefox is extremely high, even at idle. For instance, visiting this page:
http://www.couloir.org/flash/nonflash/index_ani.html , you will see anywhere
between 20%-60% memory usage at idle when running 'top' in the terminal. On the
same page with the animated background-image removed and all else being equal (
http://www.couloir.org/flash/nonflash/index.html ), memory usage at idle
decreases to around 1-2%, which is more normal. Safari can run both pages linked
above with no memory leak at all.

This happens regardless of whether I'm running any of the specially optimized
builds of Firefox (for the G5 or G4) or the plain vanilla version available for
download here.

Reproducible: Always
Steps to Reproduce:
1. Make a DIV
2. Add an endlessly-repeating animated GIF as the background-image of that DIV
3. Load in Firefox
4. Watch memory usage at idle rocket

Actual Results:  
Memory usage increased from 1-2% at idle to 20-60%.

Expected Results:  
It should have behaved as Safari does -- very little memory usage at idle,
regardless of what type of background-image is specified.
Keywords: mlk
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050423
Firefox/1.0+

No bug for me.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
The problem is still in the very last firefox release (but not in mozilla
suite) try http://facs.scripps.edu/surf/images/euranim.gif
the memory leak occurs also when the animated gif is not in a DIV
REOPEN
You need to log in before you can comment on or make changes to this bug.