On Nov 10, 2014, at 3:03 PM, Rob Nikander wrote:
> Hi,
>
> I have an index that's about 700 MB, and it grows over days to until it
> causes problems with disk size, at about 5GB. If the JVM process ends, the
> index shrinks back to about 700MB, I'm calling IndexWriter.commit() all the
> time.
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.
>
Telling us the version of lucene and the OS you're running on is
always a good idea.
A guess here is that you aren't closing index readers, so the JVM will
be holding on to deleted files until it exits.
A combination of du, ls, and lsof commands should prove it, or just
losf: run it against the j