lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Hancox (JIRA)" <>
Subject [jira] [Created] (SOLR-3944) OOM Causes IllegalStateException on Subsequent Commits Until Restart
Date Sun, 14 Oct 2012 22:57:05 GMT
Peter Hancox created SOLR-3944:

             Summary: OOM Causes IllegalStateException on Subsequent Commits Until Restart
                 Key: SOLR-3944
             Project: Solr
          Issue Type: Bug
          Components: contrib - Solr Cell (Tika extraction)
    Affects Versions: 4.0
         Environment: Fedora 16; Tomcat 7.0.27; Solr 4.0
            Reporter: Peter Hancox

Using curl to post documents for indexing via Solr Cell.  Some large documents (~1GByte) and
often database dump files (text SQL) cause "OutOfMemoryError: Java heap space". This would
also occur on SOLR 3.5

However, in 4.0 all subsequent commit attempts throw the following exception until Tomcat
is restarted.

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

Can live with some documents throwing OOM and not being indexed but cannot live with nothing
being committed until Tomcat restart.

Based on my very basic understanding, it would appear that in SOLR 4.0, the initial OOM is
putting SOLR into an unrecoverable state with respect to java heap memory for which an application
restart is the only possible solution?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message