lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Burton-West <>
Subject index writer closes due to OOM/heap space issue but no recovery after GC
Date Fri, 09 Jan 2015 21:04:11 GMT

I'm testing Solr 4.10.2 with 4GB allocated to the heap.  During the
indexing process I get an error message that says it is caused by an
"already closed indexwriter" due to an OOM. (See below).   After this
occurs it looks like the GC kicks in and there is plenty of heap space(see
attached)  but I continue getting this error.

Can someone please explain why after the GC frees memory, I continue to get
the error?

p.s. My documents average about 800KB and at completion each shard has over
3 billion unique terms.

Tom Burton-West

org.apache.solr.common.SolrException: Exception writing document id
pst.000052087387 to the index; possible analysis error.        at
caused by: this IndexWriter is closed

caused by
Caused by: java.lang.OutOfMemoryError: Java heap space

View raw message