[Bug 142917] New: kio_imap4 has memory leak when using DIMAP

Vladimir vladimir.elisseev at gmail.com
Tue Mar 13 12:51:18 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=142917         
           Summary: kio_imap4 has memory leak when using DIMAP
           Product: kmail
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: vladimir.elisseev gmail com


Version:            (using KDE KDE 3.5.6)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.2 
OS:                Linux

I noticed that after a while kmail synchronizing mail folders (DIMAP) slower and slower, so I checked memory usage and have been quite surprised. I have two mailboxes defined in KMail (DIMAP and normal IMAP), both of them are starting with about the same amount of memory like below:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
29955 vovan      0   0 43348 7532 5392 S    0  0.7   0:04.40 kio_imap4

but after ~one day the first one is consuming the same amount of memopry but the second with DIMAP is using:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
22273 vovan      0   0 74468  37m 5368 S    0  3.7   9:06.28 kio_imap4

The memory amount kio_imap4 uses is growing almost linearly even without any activities (except checking for a new mail)  and in one week eats almost all memory I have.



More information about the Kdepim-bugs mailing list