Re: sync_server memory leak with giant new mailbox first sync

2006-09-12 Thread David Carter
On Sun, 10 Sep 2006, Wesley Craig wrote: My solution (such as it is) was to reduce the wasteful amount of space sync_server was allocating per message: [...] The times-5 is completely gratuitous. In fact the pre-allocation of any memory for paths is wasteful, but I was not up for

Re: sync_server memory leak with giant new mailbox first sync

2006-09-12 Thread Bron Gondwana
On Tue, 12 Sep 2006 13:21:01 +0100 (BST), David Carter [EMAIL PROTECTED] said: On Sun, 10 Sep 2006, Wesley Craig wrote: My solution (such as it is) was to reduce the wasteful amount of space sync_server was allocating per message: [...] The times-5 is completely gratuitous. In fact

sync_server memory leak with giant new mailbox first sync

2006-09-10 Thread Bron Gondwana
Ok, so this isn't a memory leak as such, but... When sync_client has a large folder to send (for the sake of far too many hours of me trying to make this work let's just say it's 180,000 messages), then it just sends a single UPLOAD [lastuid] [lastappenddate] followed by every single message on

Re: sync_server memory leak with giant new mailbox first sync

2006-09-10 Thread Wesley Craig
I saw this problem the first time I enabled replication on a machine hosting all the IT support staff the University of Michigan. Plenty of large mailboxes there! My solution (such as it is) was to reduce the wasteful amount of space sync_server was allocating per message: ---