Closed Bug 313969 Opened 19 years ago Closed 19 years ago

High cpu usage when downloading files of unknown size

Categories

(Toolkit :: Downloads API, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 270312

People

(Reporter: dfarning, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)

Problem:

When the Firefox download manager dialog window is open and downloading a file
of an "unknown file size", the window is refreshed at a very high rate causing
it to eat up huge amounts of cpu.

Solution:

The temporary solution is to simply close the dialog window while downloading a
file.  Or just fix the refresh rate.

Reproducible: Always

Steps to Reproduce:
1. Download the file listed in the above url 
2.
3.

Actual Results:  
cpu usages goes up significantly while file is downloading when download manager window is open.  No significant increase when the window is closed.

Expected Results:  
no significant increase in cpu suage during download

This bug is being pushed upstream from http://bugzilla.ubuntu.com/show_bug.cgi?id=8849
A url that can test this bug is at ftp://mirrors.kernel.org/gnu/aspell/aspell-0.50.4.1.tar.gz
testing with firefox 1.0.7

I don't believe that this is related to bug #270312 because it still happened after clicking cleanup in download manager or manually deleting downloads.rdf.  It may very well be a dup of bug #270679. I didn't include expired bugs in my search.  Interestingly, ftp://mirrors.kernel.org/gnu/aspell/aspell-0.50.4.1.tar.gz no longer reports file size unknown.

*** This bug has been marked as a duplicate of 270312 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.