From kde-devel Mon Apr 30 19:54:25 2001 From: Stephan Kulow Date: Mon, 30 Apr 2001 19:54:25 +0000 To: kde-devel Subject: Re: too much memory for kmail X-MARC-Message: https://marc.info/?l=kde-devel&m=98866089429551 > > 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 <<