Closed
Bug 401159
Opened 17 years ago
Closed 17 years ago
Memory growth with 'new Image()' called periodically
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: aleksey, Unassigned)
References
Details
(Keywords: memory-leak)
We are trying to periodically update an image inside a page. This seems to work fine, but Firefox appears to leak (or not collect) images that have been allocated with 'new Image()'. Firefox memory usage as shown in the Windows Task Manager grows rapidly while the browser is pointing to the page with the updating image. As soon as the browser leaves the page, the memory foot print goes down dramatically. Is this a leak? Is there a way to force Firefox to collect earlier?
Here is an example of a page that demonstrates the issue:
http://nenaro.com/ffimg/
Reporter | ||
Comment 1•17 years ago
|
||
might be a dup for #228233
Comment 2•17 years ago
|
||
That page isn't a problem on trunk. Is this a report on Firefox 2? (there is no version specified)
Reporter | ||
Comment 3•17 years ago
|
||
Yes, this is 2.0.0.8
Reporter | ||
Updated•17 years ago
|
Version: unspecified → 2.0 Branch
Updated•17 years ago
|
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Version: 2.0 Branch → 1.8 Branch
Comment 4•17 years ago
|
||
Using Firefox 3 beta 1 on Windows XP, opening the page with the demonstration caused memory usage to rise about 20 MB in 30 minutes. After that, memory usage stabilized, indicating no leak. After leaving the page, the memory cache is using 22 MB of RAM, most of which seems to be the images downloaded during the demonstration. This looks like it's not a memory problem in Firefox 3 builds, only normal caching and perhaps some fragmentation. Furthermore, Firefox 2 is getting only stability fixes, so closing as WFM.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•