Closed
Bug 292730
Opened 20 years ago
Closed 20 years ago
heavy memory leak on "Save link as..."
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 251380
People
(Reporter: vda, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 Testcase: a page: <html> <a href="Titan IV.mpg">Titan IV.mpg</a> </html> and a file "Titan IV.mpg" in the same directory (size: 2318887 bytes). Open the page. Right-click on link, choose "Save Link As..." and save file to any directory. Repeat. Watch firefox heap size skyrocket with each download. I am using this script in Linux: pmap <pid of firefox-bin> | grep "^[0-9a-f][0-9a-f]* " | sort -r -t " " -k2,999 | head -20 The top line looks like this: "0898a000 29740K rwxp [heap]" and its size increases as follows: right-click on link: no change pressing on "save link as...": +300k pressing "ok": +200k pressing "ok" in "ok to replace" dialog: +2500k or more Reproducible: Always Steps to Reproduce:
Comment 1•20 years ago
|
||
I don't know if you are doing the right thing but please test again with a recent trunk build. FF1.0.3 is just to old to report bugs.
Comment 2•20 years ago
|
||
I encoutered this problem too. It causes Firefox to hang up after about 30 to 50 downloads via "Save Link as...". Very annoying :)
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 251380 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 4•19 years ago
|
||
FF 1.0.4 still has this behavior. after several "Save As..." of abm Titan IV.mpg from local page: 08989000 30304K rwxp [heap] 08048000 9172K r-xp /.share/usr/app/firefox-1.0.4/firefox-bin 401b3000 2436K r-xp /.share/usr/app/gtk+-2.4.3/usr/lib/libgtk-x11-2.0.so.0.400.3 41205000 2312K rwxp [ anon ] bf401000 2044K rwxp [ anon ] bf201000 2044K rwxp [ anon ] bf001000 2044K rwxp [ anon ] bee01000 2044K rwxp [ anon ] 408b6000 1080K r-xp /app/glibc-2.3.2/lib/libc-2.3.2.so 40b63000 1024K rwxp /dev/zero 40f08000 992K ---p [ anon ] 4059c000 752K r-xp /.share/usr/X11R6-4.4.0/lib/libX11.so.6.2 40080000 620K r-xp /.share/usr/app/firefox-1.0.4/libxpcom.so 407fe000 592K r-xp /.share/usr/app/gcc-3.3.3/lib/libstdc++.so.5.0.5 40526000 464K r-xp /.share/usr/app/glib-2.4.2/lib/libglib-2.0.so.0.400.2 40013000 420K r-xp /.share/usr/app/firefox-1.0.4/libmozjs.so 40720000 392K r-xp /.share/usr/app/firefox-1.0.4/libsoftokn3.so 40e44000 384K rwxs /SYSV00000000 40c8c000 384K rwxs /SYSV00000000 406bd000 376K r-xp /.share/usr/app/firefox-1.0.4/libnss3.so 40420000 372K r-xp /.share/usr/app/gtk+-2.4.3/usr/lib/libgdk-x11-2.0.so.0.400.3 0893d000 304K rwxp /.share/usr/app/firefox-1.0.4/firefox-bin 40786000 284K r-xp /.share/usr/X11R6-4.4.0/lib/libXt.so.6.0 409fe000 280K r-xp /.share/usr/X11R6-4.4.0/lib/libfreetype.so.6.3.3 4016d000 268K rwxp [ anon ] 40d2f000 256K rwxp [ anon ] 40cec000 256K rwxp [ anon ] Doing "Save As..." again: 08989000 34216K rwxp [heap] 08048000 9172K r-xp /.share/usr/app/firefox-1.0.4/firefox-bin 401b3000 2436K r-xp /.share/usr/app/gtk+-2.4.3/usr/lib/libgtk-x11-2.0.so.0.400.3 41205000 2312K rwxp [ anon ] bf401000 2044K rwxp [ anon ] bf201000 2044K rwxp [ anon ] bf001000 2044K rwxp [ anon ] bee01000 2044K rwxp [ anon ] 408b6000 1080K r-xp /app/glibc-2.3.2/lib/libc-2.3.2.so 40b63000 1024K rwxp /dev/zero 40f08000 992K ---p [ anon ] 4059c000 752K r-xp /.share/usr/X11R6-4.4.0/lib/libX11.so.6.2 40080000 620K r-xp /.share/usr/app/firefox-1.0.4/libxpcom.so 407fe000 592K r-xp /.share/usr/app/gcc-3.3.3/lib/libstdc++.so.5.0.5 40526000 464K r-xp /.share/usr/app/glib-2.4.2/lib/libglib-2.0.so.0.400.2 40013000 420K r-xp /.share/usr/app/firefox-1.0.4/libmozjs.so 40720000 392K r-xp /.share/usr/app/firefox-1.0.4/libsoftokn3.so 40e44000 384K rwxs /SYSV00000000 40c8c000 384K rwxs /SYSV00000000 406bd000 376K r-xp /.share/usr/app/firefox-1.0.4/libnss3.so 40420000 372K r-xp /.share/usr/app/gtk+-2.4.3/usr/lib/libgdk-x11-2.0.so.0.400.3 0893d000 304K rwxp /.share/usr/app/firefox-1.0.4/firefox-bin 40786000 284K r-xp /.share/usr/X11R6-4.4.0/lib/libXt.so.6.0 409fe000 280K r-xp /.share/usr/X11R6-4.4.0/lib/libfreetype.so.6.3.3 4016d000 268K rwxp [ anon ] 40d2f000 256K rwxp [ anon ] 40cec000 256K rwxp [ anon ]
| Assignee | ||
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•