[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: excessive memory use
From: Don Sanders <sanders () kde ! org>
Date: 2003-09-12 7:52:52
[Download RAW message or body]
On Friday 12 September 2003 10:48, Dirk Mueller wrote:
> 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.
D'oh I feel stupid. Thanks for correcting me Dirk.
Don.
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.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