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

List:       kde-pim
Subject:    Re: [Kde-pim] flavours of mixedmaildir resources
From:       Bruno Haible <bruno () clisp ! org>
Date:       2012-01-30 13:36:43
Message-ID: 4412982.CFnFvZzyES () linuix
[Download RAW message or body]

Hi Martin,

> > In an archive directory, the desired behaviour is different in two
> > points:
> > 
> >   1. Ctrl-L never triggers a full sync.
> > 
> >   2. Even when a full sync is done (to feed nepomuk or the mysql
> > database), the process needs to drop the contents of a folder from
> > memory after it has processed it. My archive had 1 GB. People who are
> > subscribed to several mailing lists can easily have archives of 10 GB,
> > which are completely unprocessable on a 4 GB machine if you don't free
> > some of the allocated memory.

Martin Steigerwald wrote:
> > It boils down to having a boolean attribute in the customization GUI of
> > a mixedmaildir resource:
> > 
> >    [X] New mail will be delivered in this directory hierarchy.
> >    [ ] No new mail is delivered here. This is more an archive.
> 
> I think this should be auto-detected. If the mbox file did not change, 
> leave it aloneā€¦

Time stamps of the files. Yes, for problem 1 - avoiding to re-read all of
the archive when the user presses Ctrl-L - this would be a fine solution.

But a full sync is needed sometimes. For example when the resource is
declared for the first time. What about problem 2 - the ability of doing
a full sync of 10 GB of mail boxes while demanding less than 1 GB of RAM?

Bruno

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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