lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Schlansker <stevenschlans...@gmail.com>
Subject Re: Index keeps growing, then shrinks on restart
Date Thu, 13 Nov 2014 18:13:26 GMT

On Nov 10, 2014, at 3:03 PM, Rob Nikander <rob.nikander@gmail.com> 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.  What else do you call to get it to compact it's use of space?

Are you maybe leaking instances of IndexReader or IndexWriter?  Any deleted
files that are held open by Java objects will continue to consume disk space
until the Java object releases the file from use.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message