19 Mar
                
                    2009
                
            
            
                19 Mar
                
                '09
                
            
            
            
        
    
                11:11 p.m.
            
        On Thu, 2009-03-19 at 15:25 -0400, David Halik wrote:
So far everything is working smoothly, but when someone does a search through directory with a large number of emails, dovecot dies and prints the following message:
[ID 107833 mail.crit] Panic: Trying to allocate 2147483648 bytes
So you can easily reproduce this?
I grabbed a backtrace if it is helpful:
Yes, very helpful! Is it possible to also examine variable values?
Could you try applying this patch: http://hg.dovecot.org/dovecot-1.1/rev/98a59fd61d7f
and also the attached patch. What error does it fail in?