Closed Bug 197765 Opened 21 years ago Closed 21 years ago

Save as/download click responds very slowly

Categories

(SeaMonkey :: Download & File Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 161783

People

(Reporter: jcoppens, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Any download, be it using 'save link target as', or 'save as'-click, starts very
slowly. There is a 4 - 5 seconds period from the activation, till the actual
download, during which the CPU runs at 100% occupation, and during which Mozilla
doesn't respond. This happens with large or small (1k or less) files.

Reproducible: Always

Steps to Reproduce:
1. Right-click/save as OR Save link target OR clicking eg. a PDF file then save
2. Delay starts when pressing the SAVE button on the file dialog
3.

Actual Results:  
Around 5 seconds or more delay, at 100% CPU

Expected Results:  
Save it more rapidly

The machine is an Athlon K7, at 1.2 GHz, with 256M of memory - all other
operations are reasonably fast.
How many entries do you have listed in the download manager?  Try backing up
downloads.rdf and then clearing the list in download manager (this may take
awhile).  Does that make things faster?
Tried to do that. The original downloads.rdf file was about 2.6 MB big, and with
a few hundreds of entries. I told Mozilla to clean it up, and after about 20
minutes at 100% CPY, I gave up. I noticed that the routine had used more than 12
MB of disk after 20 minutes, and no progress in sight.

So I just took a text editor, eliminated all the records from .rdf, except the
outer frame. Took all of 10 seconds, ready. All downloads are fast again. This
is clearly a severe bottleneck, and IMO should be streamlined.

Thanks for replying.
fyi, you can just delete downloads.rdf if it gets too large...
Dup of "Need a more scaleable implementation for download data storage"....

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