Bug 271464 - akonadi_maildir_resource use huge memory
Summary: akonadi_maildir_resource use huge memory
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Maildir Resource (show other bugs)
Version: 4.6
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-22 04:17 UTC by jlj.babydragon
Modified: 2011-09-22 06:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jlj.babydragon 2011-04-22 04:17:03 UTC
Version:           4.6 (using KDE 4.6.2) 
OS:                Linux

/usr/bin/akonadi_agent_launcher akonadi_maildir_resource akonadi_maildir_resource_20 process use 1.8G memory.
Library Usage:
1888928 KB	[heap]
280 KB	/usr/lib64/qt4/libQtGui.so.4.7.2
204 KB	/usr/lib64/libkdeui.so.5.6.0
100 KB	/usr/lib64/libkio.so.5.6.0
96 KB	/usr/lib64/libkdecore.so.5.6.0

I have about 10000 emails in kmail2.


Reproducible: Always

Steps to Reproduce:
start kde

Actual Results:  
this process use 1.8G memory

Expected Results:  
use less memory
Comment 1 Andre Woebbeking 2011-05-10 21:36:46 UTC
I've this with akonadi_mixedmaildir_resource. After I open a folder with 36000 mails the mem usage goes up to 1.2 GB (on x86_64).
Comment 2 András Manţia 2011-09-22 06:14:15 UTC
This should be much better in the upcoming KDE 4.8, importing 240000 mails peaked at ~600MB. Once the import is done (in worst case after restarting the akonadi server), the memory usage is low (<60MB), even when accessing large folders.