Actually that same header indexing behavior was already in v2.1. But I found the real problem now: http://hg.dovecot.org/dovecot-2.2/rev/febedba15c7e
That bug was actually already in v2.1, but because memory was always allocated from stack it wasn't causing as many problems. On 18 Aug 2014, at 13:34, Akash <[email protected]> wrote: > Thanks for checking. The patch didn't make any significant difference. Now > its 1.3G instead of 1.5G. > > root@server:~# ls -lh /home/admin/mails/lucene-indexes > total 1.3G > -rw------- 1 nobody nogroup 1.3G Aug 18 11:30 _4a.cfs > -rw------- 1 nobody nogroup 20 Aug 18 11:30 segments.gen > -rw------- 1 nobody nogroup 46 Aug 18 11:30 segments_8n > > On 18-08-2014 14:17, Timo Sirainen wrote: >> On 18 Aug 2014, at 09:42, Akash <[email protected]> wrote: >>> 390M vs 1.5G. That is a huge difference in size. Why is that? >> Can you test if the attached patch shrinks it back? I had been >> planning on making that also configurable. There might be something >> else also causing it.
