Bug 249987

Summary: Kmail 2 does not warn that migration will use a large amount of disk space/does not calculate the space required
Product: [Applications] kmail2 Reporter: mps <moabi2000>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: karl, Martin
Priority: NOR    
Version: 2.0.90   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mps 2010-09-03 11:53:57 UTC
Version:           2.0 beta1 (using KDE 4.5.0) 
OS:                Linux


I migrated to kmail 2 (kdepim 4.4.93). My setup is based only on pop and maildir.

Migration has so far consumed 3.5 Gb (and indexing continues). This used up all free space in my /home. Kmail should a) warn that migration requires significant disk space and b) if possible estimate the space required and warn the user if there is not enough.

This is a problem, because in my case I ran out of space and so kmail wouldn't show me message bodies until I freed up more space.

I realise that it is probably akonadi/nepomuk actually using the space, but the kmail migration should warn before starting.

On the good side, once I freed up diskspace, it all worked fine. Well done!

Reproducible: Didn't try

Steps to Reproduce:
Migrate a existing maildir hierarchy to kmail 2 under conditions of low disk space. In my case free space was about 1/5 of the total size of my maildirs.
Comment 1 Martin Steigerwald 2015-09-09 21:07:52 UTC
mps, thank you for your report.  Sorry for the long delay in answering to it. It is about a version of KMail which  is unmaintained. Thus closing.

While you are basically right about this, it is difficult to calculate the exact space requirements of the database beforehand. Most people will have migrated by now to an Akonadi based KMail as well.

Thank you and greetings from KDE Randa Meetings,
Martin