Bug 107649

Summary: large mail folders cause extremly high memory and cpu usage
Product: [Applications] kmail Reporter: Joseph Wenninger <jowenn>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: bjoern
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Joseph Wenninger 2005-06-18 11:00:47 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Compiled From Sources
Compiler:          3.4.3 (amd64) 
OS:                Linux

Hi !

After nearly one and a half years. I thought I'll give kmail a chance again.

I imported my evolution 2 mailfolders, which a few had mail count of about 200.000 mails. evo handled them with reasonable memory and cpu usage and quite fast.

In kmail I tried mbox and maildir, but the behaviour is almost the same.
During import kmail used nearly my 2GB available main memory and used about 50% cpu.

After closing kmail and restarting it (which takes between 80 and 90 percent cpu for about 30 to 45 minutes on my athlon 64 3500+) it uses less memory but while running it stays at about 50% cpu usage.

Looks like kmail is still not usable for large folders :-(
Comment 1 Thomas McGuire 2007-03-10 12:15:34 UTC
>Looks like kmail is still not usable for large folders :-( 
Maybe the reason is not the large folders, but large messages. KMail uses too much memory for messages with large attachments. Do you know if any of the mails you tried to import had large attachments (>5MB)?

In that case, this bug report is the same as bug #110574.