java.lang.IllegalStateException

this writer hit an OutOfMemoryError; cannot flush

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8473

  • via docfetcher by *anonymous
    , 1 year ago
    this writer hit an OutOfMemoryError; cannot flush
  • via docfetcher by *anonymous
    , 1 year ago
    this writer hit an OutOfMemoryError; cannot flush
  • this writer hit an OutOfMemoryError; cannot flush
  • Stack trace

    • java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot flush at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3599) at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3588) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2073) at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2040) at net.sourceforge.docfetcher.model.index.IndexWriterAdapter.add(IndexWriterAdapter.java:51) at net.sourceforge.docfetcher.model.index.file.SimpleDocWriter.write(SimpleDocWriter.java:44) at net.sourceforge.docfetcher.model.index.file.LuceneDocWriter.add(LuceneDocWriter.java:36) at net.sourceforge.docfetcher.model.index.file.FileContext.index(FileContext.java:161) at net.sourceforge.docfetcher.model.index.file.FileIndex$1.handleFile(FileIndex.java:288) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.runWithHtmlPairing(HtmlFileLister.java:123) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.doRun(HtmlFileLister.java:56) at net.sourceforge.docfetcher.util.Stoppable.run(Stoppable.java:57) at net.sourceforge.docfetcher.model.index.file.FileIndex.visitDirOrZip(FileIndex.java:275) at net.sourceforge.docfetcher.model.index.file.FileIndex.access$200(FileIndex.java:51) at net.sourceforge.docfetcher.model.index.file.FileIndex$1.handleDir(FileIndex.java:386) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.runWithHtmlPairing(HtmlFileLister.java:144) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.doRun(HtmlFileLister.java:56) at net.sourceforge.docfetcher.util.Stoppable.run(Stoppable.java:57) at net.sourceforge.docfetcher.model.index.file.FileIndex.visitDirOrZip(FileIndex.java:275) at net.sourceforge.docfetcher.model.index.file.FileIndex.access$200(FileIndex.java:51) at net.sourceforge.docfetcher.model.index.file.FileIndex$1.handleDir(FileIndex.java:386) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.runWithHtmlPairing(HtmlFileLister.java:144) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.doRun(HtmlFileLister.java:56) at net.sourceforge.docfetcher.util.Stoppable.run(Stoppable.java:57) at net.sourceforge.docfetcher.model.index.file.FileIndex.visitDirOrZip(FileIndex.java:275) at net.sourceforge.docfetcher.model.index.file.FileIndex.access$200(FileIndex.java:51) at net.sourceforge.docfetcher.model.index.file.FileIndex$1.handleDir(FileIndex.java:386) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.runWithHtmlPairing(HtmlFileLister.java:144) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.doRun(HtmlFileLister.java:56) at net.sourceforge.docfetcher.util.Stoppable.run(Stoppable.java:57) at net.sourceforge.docfetcher.model.index.file.FileIndex.visitDirOrZip(FileIndex.java:275) at net.sourceforge.docfetcher.model.index.file.FileIndex.access$200(FileIndex.java:51) at net.sourceforge.docfetcher.model.index.file.FileIndex$1.handleDir(FileIndex.java:386) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.runWithHtmlPairing(HtmlFileLister.java:144) at net.sourceforge.docfetcher.model.index.file.HtmlFileLister.doRun(HtmlFileLister.java:56) at net.sourceforge.docfetcher.util.Stoppable.run(Stoppable.java:57) at net.sourceforge.docfetcher.model.index.file.FileIndex.visitDirOrZip(FileIndex.java:275) at net.sourceforge.docfetcher.model.index.file.FileIndex.doUpdate(FileIndex.java:159) at net.sourceforge.docfetcher.model.TreeIndex.update(TreeIndex.java:148) at net.sourceforge.docfetcher.model.index.Task.update(Task.java:98) at net.sourceforge.docfetcher.model.index.IndexingQueue.threadLoop(IndexingQueue.java:163) at net.sourceforge.docfetcher.model.index.IndexingQueue.access$100(IndexingQueue.java:46) at net.sourceforge.docfetcher.model.index.IndexingQueue$2.run(IndexingQueue.java:118)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.