[Kde-pim] Review Request 111469: Don't use 1.5 GB of memory when importing big maildir
Martin Steigerwald
Martin at lichtvoll.de
Sun Jul 14 19:20:07 BST 2013
HI Sergio!
Am Mittwoch, 10. Juli 2013, 22:20:27 schrieb Sergio Luis Martins:
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111469/
> -----------------------------------------------------------
>
> (Updated July 10, 2013, 10:20 p.m.)
>
>
> Review request for KDEPIM and Volker Krause.
>
>
> Description
> -------
>
> The code was creating 70k ItemCreateJobs first, and then starting them all.
> That makes mem usage reach a peak of 1.5GB here. It does have code to do
> one event loop iteration every 20 e-mails, but that only makes it fire one
> ItemCreateJob, so they pile up anyway.
[…]
> Testing
> -------
>
> Imported a big maildir. Mem goes to 60MB max
Nice.
I think thats the +70000 mail LKML folder I sent to you. :)
Thank you,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list