[Bug 223488] New: Test and fix memory usage and speed for opening a folder and populating the message list

Thomas McGuire mcguire at kde.org
Tue Jan 19 21:17:08 GMT 2010


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

           Summary: Test and fix memory usage and speed for opening a
                    folder and populating the message list
           Product: KMail 2
           Version: 1.99.0
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Keywords: akonadi-ports-regression
          Severity: major
          Priority: NOR
         Component: misc
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: mcguire at kde.org
            Blocks: 223438


Right now, when opening a folder a populating the message list, all headers of
the messages are fetched and put into a KMime::Message object.

This is way too expensive, and will show as speed, disk space and memory
problems.

Instead, only the headers that are really needed should be cached and loaded,
which are those displayed in the message list. And there shouldn't be a big
KMime::Message object for each of those, but some more memory efficient
structure. Same goes for the cache in Akonadi, it should not store the complete
header in plain text there.
In the same vein, the IMAP resource should not fetch the complete header, but
only the needed header fields, which is possible with the IMAP protocol (and
e.g. tinymail does that).

This needs to be fixed at several levels, not just KMail.

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