java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot flush

labkey.org | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Start Page: /home/CPAS/Forum

    labkey.org | 2 years ago
    java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot flush
  2. 0

    Start Page: /home/Demos/CPAS/Forum

    labkey.org | 7 months ago
    java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot flush

    Root Cause Analysis

    1. java.lang.IllegalStateException

      this writer hit an OutOfMemoryError; cannot flush

      at org.apache.lucene.index.IndexWriter.doFlushInternal()
    2. Lucene
      IndexWriter.deleteDocuments
      1. org.apache.lucene.index.IndexWriter.doFlushInternal(IndexWriter.java:3521)
      2. org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3509)
      3. org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3500)
      4. org.apache.lucene.index.IndexWriter.deleteDocuments(IndexWriter.java:1974)
      4 frames
    3. org.labkey.search
      AbstractSearchService$7.run
      1. org.labkey.search.model.WritableIndex.deleteDocument(WritableIndex.java:81)
      2. org.labkey.search.model.WritableIndex.index(WritableIndex.java:68)
      3. org.labkey.search.model.LuceneSearchServiceImpl.index(LuceneSearchServiceImpl.java:724)
      4. org.labkey.search.model.AbstractSearchService$7.run(AbstractSearchService.java:978)
      4 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame