On Nov 10, 2014, at 3:03 PM, Rob Nikander <rob.nikan...@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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org