[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 73692] New: possible memory leak in View Source
From:       Ingo "Klöcker" <kloecker () kde ! org>
Date:       2004-01-28 16:36:38
Message-ID: 20040128163638.3705.qmail () ktown ! kde ! org
[Download RAW message or body]

------- 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=73692      
           Summary: possible memory leak in View Source
           Product: kmail
           Version: 1.6
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: display
        AssignedTo: kmail-devel@kde.org
        ReportedBy: kloecker@kde.org


Version:           1.6 (using KDE 3.2.0, compiled sources)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-166-default

- Selected a message with a large attachment (message size approx. 4.1 MB). Memory \
                usage jumped from ~32.6 to ~45.3 MB.
- After selecting another message (small, no attachment) memory usage goes down \
again. So far so good.

- Selected a message with a large attachment (message size approx. 4.1 MB). Memory \
                usage jumped from ~32.6 to ~45.3 MB.
- Did "View Source". Memory usage jumped to ~120 (!!!) MB.
- After closing the "View Source" window memory usage goes down to ~111 MB.
- After selecting another message (small, no attachment) memory usage goes down to \
                ~98 MB.
- Reselected the message with the large attachment. Memory usage stayed at ~98 MB. It \
                seems an implicitely shared copy of this message is reused.
- Again "View Source" => ~127 MB
- Close "View Source" window => ~127 MB (i.e. no change)
- Select another message => ~127 MB (i.e. still no change)

Todo:
- Check for memory leak.
- Decrease memory usage.
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic