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

List:       kde-devel
Subject:    Re: too much memory for kmail
From:       Stephan Kulow <coolo () kde ! org>
Date:       2001-04-30 19:54:25
[Download RAW message or body]


> > Yes, I think if you have a large amount of mail then kmail takes a lot
> > of memory, due to holding the index for each mailbox in memory. Apologies
> > to the kmail people if I got that wrong.
> >
> > Getting memory usage for something like kmail down to a reasonable value
> > is non-trivial. One of the main problems is that QListView needs all
> > the items from a mailbox index to be inserted. All those Unicode strings
> > take a huge amount of memory. We really need a widget that works with
> > more of a Document-View style, where new data from the index (Document)
> > is only requested as the QListView (View) is scrolled.
>
> I remember this from OS/2 containers. You could specify a number to
> retrieve like 200 for instance, but when you scrolled it would retrieve
> more. Perhaps reading from large data structures it would be possible to
> set a "window" of rows to keep in memory and slide the window with a
> scroll?
>
That could work if there would be no dynamic sorting and threading. With it 
you need a more advanced architecture.

Greetings, Stephan

-- 
People in cars cause accidents. Accidents in cars cause people.
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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