[Bug 167642] Freezes when reading large mail

Clemens Wehrmann cwehrmann at wesleyan.edu
Thu Apr 9 15:08:04 BST 2009


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


Clemens Wehrmann <cwehrmann at wesleyan.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cwehrmann at wesleyan.edu




--- Comment #2 from Clemens Wehrmann <cwehrmann wesleyan edu>  2009-04-09 16:08:02 ---
kmail 1.11.0

Clicking on a stray 36MB message (in a maildir folder) caused a 500MB spike in
memory consumption causing the host to swap and kmail to hang.  After an hour
the UI (menus, buttons, message-list) returned, but the message was not
displayed in the preview.  Double clicking the message resulted in hang that
was eventually aborted by the user.

I would suggest:
* kmail reads a screenful of data for initial rendering before parsing full
mail.  (updates to the attachment lists seem acceptable)
* kmail already looks up the message size for the hover distraction and might
use this information based on some threshold to suggest to the user save the
message for viewing in an editor or delete without being opened.
* kmail detects if it's interactive UI becomes comatose for too long and stops
whatever it is that it's doing.  I realize this is non-trivial in a
multi-tasking environment.  Perhaps the previewer thread could just timeout
after 5s and just prompt for action if the parsing hasn't completed.

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