On Monday 30 April 2001 19:21, Don Sanders wrote: > On Monday 30 April 2001 11:47, Stephan Kulow wrote: > > On Sunday, 29. April 2001 22:39, Don Sanders wrote: > > > I believe enabling/disabling of (not yet created?) toolbar buttons = is > > > less important than fixing the memory leak. > > > > I commit a patch to folderToPopup and now there is no updateMessageMe= nu > > in a call path to a leaking instruction. > > I have updated kmmainwin.cpp and kmmainwin.h and the leak in > updateMessageMenu is still present. (Just add a return at the start of > updateMessageMenu and use the method I outlined in an earlier mail to > confirm this). Can confirm this. > There is a small memory leak in khtml (or at least kmreaderwin) as well= but > it's very minor compared to the updateMessageMenu leak. So as this. It is for sure not related to KHTML when I press Right mouse=20 button, again, and again, and memory leaks. > > And if Dennis said it leaks if he goes to a larger message, this > > indicates even more that it's not related to updateMessageMenu as thi= s > > code has no relation to the size of a message. Either it leaks always= the > > same amount or it doesn't leak. The leak you and Dennis see is either= in > > khtml or in kmail's use of khtml. > > No. It's just that large messages require more memory to display than > smaller messages and once memory has been allocated by an application o= n > linux (and all unixes?) it is not given back to the operating system. > > BFN, > Don. > _______________________________________________ > Kmail Developers mailing list > Kmail@master.kde.org > http://master.kde.org/mailman/listinfo/kmail --=20 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