[kmail2] [Bug 347240] New: KMail does not release memory

Raymond Wooninck tittiatcoke at gmail.com
Tue May 5 16:29:24 BST 2015


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

            Bug ID: 347240
           Summary: KMail does not release memory
           Product: kmail2
           Version: Git (master)
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: tittiatcoke at gmail.com

I just started kmail and looked at a couple of emails. Checking the memory, it
seems that KMail is using 1.1Gb of memory.  Clicking on a new folder with
emails or an email itself seems to increase the memory usage. However this
seems only to be released when kmail is closed.

With ksysguard, I get the following information for kmail :
Process 3494 - kmail

Summary

The process kmail (with pid 3494) is using approximately 1.1 GB of memory.
It is using 1.1 GB privately, and a further 83.1 MB that is, or could be,
shared with other programs.
Dividing up the shared memory between all the processes sharing that memory we
get a reduced shared memory usage of 15.3 MB. Adding that to the private usage,
we get the above mentioned total memory footprint of 1.1 GB.
Library Usage

The memory usage of a process is found by adding up the memory usage of each of
its libraries, plus the process's own heap, stack and any other mappings, plus
the stack of its 7 threads. 
Private
more
1134320 KB    [heap]
3268 KB    /usr/lib64/libQt5WebKit.so.5.4.2
2464 KB    /usr/lib64/libQt5WebEngineCore.so.5.4.2
2124 KB    /usr/lib64/libkmailprivate.so.4.75.0
1008 KB    /usr/share/icu/54.1/icudt54l.dat
Shared
more
13516 KB    /usr/lib64/libQt5WebKit.so.5.4.2
3976 KB    /usr/lib64/libQt5Widgets.so.5.4.2
3840 KB    /usr/lib64/libQt5Core.so.5.4.2
3732 KB    /usr/lib64/libQt5Gui.so.5.4.2
3568 KB    /SYSV00000000 (deleted)
Totals

Private    1157388 KB    (= 13152 KB clean + 1144236 KB dirty)
Shared    85096 KB    (= 81448 KB clean + 3648 KB dirty)
Rss    1242484 KB    (= Private + Shared)
Pss    1173061 KB    (= Private + Shared/Number of Processes)
Swap    0 KB

Reproducible: Always

Steps to Reproduce:
1. Start kmail 
2. open ksysguard 
3. start clicking on emails (email shown in preview window)

Actual Results:  
Memory usage increases and increases

Expected Results:  
Memory usage should not really increase or slightly and released again after
some time.

All kdepim components are based on git master.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list