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@kde.org
        ReportedBy: mcgu...@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.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to