[imapfilter-devel] memory usage

Lefteris Chatzimparmpas lefcha at hellug.gr
Tue Jul 6 19:03:13 EEST 2010


On 07/01/2010 08:55 PM, William Faulk wrote:
> imapfilter's memory usage is getting out of hand:
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 16366 wfaulk 20 0 656m 335m 420 S 0 8.5 143:46.09 imapfilter
>
> I do have one filter that contains a "match_body" rule, but it still
> seems to be overkill to, I'm guessing, cache my entire inbox in memory.

Hello,

I guess this is caused by the caching of message parts (including the
body).  Imapfilter won't try to free any memory at any point, you have
to either disable caching (there is an option), or manually flash parts
or all the cache at some point (I can give you examples if you want).

> I still think it would make more sense for the idle support to return
> new messages that can be scanned, rather than having to run through the
> entire inbox every time. That would probably eliminate this memory
> issue, and it would also improve response time.

How do you mean?

>
> -Bitt
> _______________________________________________
> Imapfilter-devel mailing list
> Imapfilter-devel at lists.hellug.gr
> http://lists.hellug.gr/mailman/listinfo/imapfilter-devel


More information about the Imapfilter-devel mailing list