Yeah, that's a good point.  I use sync_batch_size of 100,000.

Regarding the original question, there are other operations that will exhaust memory as well. We've had two recent reports of Thunderbird users who unexpectedly developed extremely large cyrus.* files in their trash. Since cyrus.* files get mmap'd, a very large one may exhaust the address space of sync_server (or imapd for that matter).

:wes

On 18 Apr 2007, at 07:16, Bron Gondwana wrote:
If you're using 2.3.8 just add:

sync_batch_size: 1000

to your imapd.conf (or any other value - this works fine for me)

The above patch is probably fine too, but I still prefer to stop the
unbounded edge case regardless.
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to