[Bug 276975] New: Akonadi server should free memory more aggresively

S.Trzmiel xeno at bmp.net.pl
Sat Jul 2 23:13:57 BST 2011


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

           Summary: Akonadi server should free memory more aggresively
           Product: Akonadi
           Version: 1.5.3
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: server
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: xeno at bmp.net.pl


Version:           1.5.3 (using KDE 4.6.4) 
OS:                Linux

Akonadi server tends to keep huge amounts of memory allocated after memory
usage peak.

My pim setup consists two pop3 accounts, one imap account (200MB quota, less
than 1000mails), personal contacts in local directory, local maildir, one KDE
calendar resource.
Here, at logon akonadi_server takes 6-8MB of RAM, imap resource eats ~8MB, rest
of the processes takes ~2-3MB each.
Typical usage increases numbers to 10-20MB for server and ~10MB for imap
resource.
Performing any memory costly operation (apply some filters/rules to the whole
mail dir ) bumps  memory usage rises to hundrets of MBs, sometimes
akonadiserver process can use ~1GB of memory, imap resource takes ~100MBs, one
of the agent launcher processes (i guess related to imap) uses +25MBs.

And here's the problem: when this operation is finished,  memory usage drops to
100-180MBs for akonadi_server (10 times more it normaly uses). Also
agent_launcher process stays at +20MBs, which again is 10 times more it needs.

It doesn't matter if I close kmail or wait for all the processes to idle (once
I left it running all night). The only way to free used memory is restart of
akonadi server.


Reproducible: Always

Steps to Reproduce:
1. Set some email accounts (imap may reveal issue a bit faster as filtering
local maildir usually doesn't need so much ram)
2. Run KMail and apply some filter to one of the inbox folders (imap one
prefferably.
3. Watch memory usage increase.


Actual Results:  
Memory usage once bumped, stays high.

Expected Results:  
Memory usage returns to values comparable (no more than 2-3 times higher)  to
values typical for normal usage.

-- 
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