[Bug 290355] New: akonadi_mixedmaildir_resource consumes too much memory

Bruno Haible bruno at clisp.org
Sun Jan 1 23:31:31 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=290355

           Summary: akonadi_mixedmaildir_resource consumes too much memory
           Product: kontact
           Version: 4.7.2
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: mail
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: bruno at clisp.org


Version:           4.7.2 (using KDE 4.7.3) 
OS:                Linux

kmail 4.7.4, akonadi 4.7.4.

I imported an archive of 1 GB of old mails into kmail by adding a local
"kmail maildir" in the settings, then pressed Ctrl-F5 (recursive refresh).
It took a while, produced a database of 0.5 GB on disk, and after that,
there was an akonadi_mixedmaildir_resource process that took ca.
2.4 GB of virtual memory and 1.8 GB of resident memory (= 50% of RAM on
a 4 GB machine). Every kmail operation (view a mail, select different
folder, etc.) triggered massive disk activity. Often, the
akonadi_mixedmaildir_resource process took over 100% of CPU time for
several minutes.

The situation lasted until I logged out, which happened to terminate the
akonadi_mixedmaildir_resource process.

Reproducible: Didn't try

Steps to Reproduce:
Add a local "kmail maildir" resource for 1 GB of old mail.
Press Ctrl-F5 (recursive refresh on it) in the folder view.
Wait until it's refreshed.
Try to view different folders - sluggish and slow.
Close and restart kmail.
Try to view different folders - still sluggish and slow.


Actual Results:  
An akonadi_mixedmaildir_resource process eats of 2 GB of RAM and lots of CPU
time.

Expected Results:  
Regardless of the total size of mailboxes to refresh, the total size of the
kmail related processes (including akonadi* and mysqld) should remain bounded
below 200 MB.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list