Bug 188066

Summary: kmail is unusability slow do to compacting directories
Product: [Applications] kmail Reporter: William H. Nugent <whn-kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: 1.11.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description William H. Nugent 2009-03-25 11:31:42 UTC
Version:           1.11.1 (using 4.2.1 (KDE 4.2.1), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-11-generic

Started kontact/kmail about twenty five minutes ago and it is unusably slow as it "compacts"
all my maildir folders.  This either needs to happen:
A) Smaller process slice so the program remains usable - I don't
   care if it takes all day to "compact"/purge old messages but
   please do not cause the program to become unusably slow;
B) In a separate process so the program remains usable;
C) Have an easy way to pause it

Thank you.
Comment 1 William H. Nugent 2009-06-25 14:21:23 UTC
Howdy,

This an even more sever problem in KMail/1.11.4 and Kontact/1.4.4.  Every time kontact starts up kmail compacts ALL the folders which takes about 25 minutes.  It really sucks when you need to read and reply quickly to an email and to send a two word response takes FOREVER.  Everything in Kontact is affected.

If I was using mailboxes I could understand the scan but everything is in maildirs so I'm wondering if this is really necessary?

I've even tried setting "Compactable=false" in kmailrc and then started kontact without affect.
Comment 2 Laurent Montel 2015-04-12 09:54:57 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.