Bug 85987 - Moving ~1000 Mails from Imap folder to MBox is slow (much slower than in KMail shipped with KDE 3.2)
Summary: Moving ~1000 Mails from Imap folder to MBox is slow (much slower than in KMai...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Till Adam
URL:
Keywords: triaged
: 90285 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-26 02:33 UTC by Daniel Schreiber
Modified: 2009-12-06 16:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Schreiber 2004-07-26 02:33:22 UTC
Version:            (using KDE KDE 3.2.92)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.4  (Debian 1:3.3.4-3)
OS:                Linux

It took me about an hour with kmail eating 100% CPU to move 1042 mails from an online imap folder to an mbox on a local disk. KMail created tons of Jobs which could be seen in the joblist. It took few seconds to complete a single job and remove it from the joblist.

While moving, the UI was still usable, although it was very sluggish.

KMail ate a lot of RAM: ~ 92 MB RSS. A restarted KMail eats about 42 MB RSS here.

The server or network connection is not the problem, KMail from KDE 3.2 did the same job under same conditions in a few minutes.
Comment 1 Till Adam 2004-07-27 12:18:11 UTC
Daniel, as discussed on irc, the problem is that KMail merrily creates a progress item for each mail that needs to be downloaded, which for 1000 mails produces one bugger of a progress dialog, which takes a bit to initialize and burns some cpu. Once the dialog is filled, it starts to work through them at normal speed, as far as I can tell, at about 1 message per second with my DSL connection. I agree this case needs to be handled bette, but I'll postpone that until after the 3.3 release.
Comment 2 Till Adam 2004-10-19 17:41:46 UTC
*** Bug 90285 has been marked as a duplicate of this bug. ***
Comment 3 Michael Leupold 2008-08-31 12:48:46 UTC
I can't reproduce this on trunk r855160 however I don't have a folder with that many mail messages (only around 200). Downloading the mails on an IMAP account is pretty snappy though.
Comment 4 Michael Leupold 2008-11-07 12:02:48 UTC
Still can't reproduce on 1.10.1.