lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Nikander <>
Subject Re: Index keeps growing, then shrinks on restart
Date Tue, 11 Nov 2014 13:50:14 GMT
On Tue, Nov 11, 2014 at 4:26 AM, Ian Lea <> wrote:

> Telling us the version of lucene and the OS you're running on is
> always a good idea.

Oops, yes.  Lucene 4.10.0, Linux.

A guess here is that you aren't closing index readers, so the JVM will
> be holding on to deleted files until it exits.

That's probably it. I found a code path where it seems I thought the
reader's `close()` would be called by GC/finalize.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message