Peter Hancox created SOLR-3944:
----------------------------------

             Summary: OOM Causes IllegalStateException on Subsequent Commits 
Until Restart
                 Key: SOLR-3944
                 URL: https://issues.apache.org/jira/browse/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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to