Closed
Bug 660515
Opened 14 years ago
Closed 14 years ago
Memory Leak after opening/saving large .jpg files
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 660577
People
(Reporter: douglasgodfrey, Unassigned)
References
()
Details
(Keywords: memory-leak)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Memory leak or unreleased memory after opening and saving large .jog files.
System Mac Pro 8-Core Xeon /w 16GB ram
OS X 10.6.7 with all patches applied.
Site http://members.met-art.com/
This site has a large collection of very large 5000x7000 pixel .jpg files.
After opening and saving 300-500 large ,jpg files, Firefox Memory had increased to 8GB real - 16GB virtual memory.
Reproducible: Always
Steps to Reproduce:
1) Open Activity Monitor and select All Processes and Sort By Real Memory
2) Open Firefox and browse to http://members.met-art.com/
3) Click on the High-Resolution link for a gallery
4) Right Click on each thumbnail and select contextual menu:
"Open Link in a new Window"
5) Right click on each image and select contextual menu:
"Save Image As"
6) Close the image window
7) Repeat steps 3-6 until 200-300 images have been saved
8) Firefox Real Memory usage will have steadily increased from 200MB to 4+GB
9) Closing all windows and waiting for garbage collection to complete only
recovers 50% of the peak memory usage
10) Over time Firefox memory usage will increase until it causes Mac OS to crash
Actual Results:
"Open Link in a New Window" for a link to a page with a large .jpg file
followed by "Save Image As" and closing the window.
Firefox leaks 4GB after 175 images.
Expected Results:
After closing all image windows, Firefox Real and Virtual Memory should return to initial value.
When Firefox Real Memory usage exceeds 50% of total system memory it can cause Mac OS X to crash
Comment 1•14 years ago
|
||
How do Firefox 5 Beta and/or Aurora compare to this?
Version: unspecified → 4.0 Branch
Reporter | ||
Comment 2•14 years ago
|
||
With Firefox 5.0b2 the leak is larger but Firefox remains more responsive.
After Viewing/Saving 80 large .jpg files Firefox memory usage reached 4.4GB Real and 5.3GB Virtual with a peak of 5.0GB Real and 6.0GB Virtual.
Firefox 4.0 leaks about 23MB per large .jpg file while Firefox 5.0 leaks 51MB per large .jpg file.
Firefox 5.0b2 remained more responsive than Firefox 4.0 was with a similar memory usage.
Erm, should be mentioned that the site in the original comment is NSFW
Comment 4•14 years ago
|
||
I've consolidated a number of bugs about image-heavy sites, including this one, into bug 660577. Please CC yourself on that bug if you want to follow along. Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•