[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: Memory leaks in KMail
From: Denis Perchine <dyp () perchine ! com>
Date: 2001-04-28 5:17:08
[Download RAW message or body]
> > Read a CVS message, that memory leak was fixed in KHTML.
> > And thought that this will finally fix the problem with memory leak when
> > reading mails. But it is not the case. When I go to the next message
> > approximately 100 kbytes is leaked. At least KMail grows in size. Even
> > when I came back to the same message it grows.
> >
> > Also it grows by approx. 200K when I right click on the item, and get
> > popup menu. Possibly this is a problem of kdelibs... But this is really
> > unacceptable. After a day of work KMail use 100-150Mb of memory.
> >
> > Any ideas?
>
> It's updateMessageMenu again. Just "return;" in
> KMMainWin::updateMessageMenu() to verify that yourself.
Not completely... When I do this it still leaks memory. But amount is less.
Something like 40K per message. It looks like the leak is in kdeui...
> Maybe there was always a memory leak there, maybe it is much more of a
> problem now as maybe updateMessageMenu is called much more often than it
> used to be. Maybe it was only called on right click or when clicking on the
> message menu but now it is (more or less) called whenever a message is
> read.
>
> IMO obviously updateMessageMenu should only be called on right click of a
> message header or when the message menu is pulled down. Coolo any chance of
> you agreeing on this?
>
> BTW html widget looks ok, adding a "return;" to the start of void
> KMReaderWin::setMsg(KMMessage* aMsg, bool force) didn't make any memory
> leaks obvious.
Possibly....
> Heh, who needs leaktracer.
--
Sincerely Yours,
Denis Perchine
----------------------------------
E-Mail: dyp@perchine.com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic