From kmail-devel Fri Sep 12 00:48:19 2003 From: Dirk Mueller Date: Fri, 12 Sep 2003 00:48:19 +0000 To: kmail-devel Subject: Re: excessive memory use X-MARC-Message: https://marc.info/?l=kmail-devel&m=106332771515923 On Friday 12 September 2003 02:56, Don Sanders wrote: > methods in the message classes. I count 56 in KMMsgBase alone, and > there are more in KMMsgInfo and KMMessage. This is bad news for a > global search that opens all folders this means for my some 400,000 > messages, at least 100MB of ram will be needed. virtual method tables are allocated per class, not per class instance. There is only a fixed class instance overhead of sizeof(void*) when any class has at least one virtual method. _______________________________________________ KMail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail