Bjorn Hijmans created SOLR-3573:
-----------------------------------

             Summary: Data import does not free CLOB
                 Key: SOLR-3573
                 URL: https://issues.apache.org/jira/browse/SOLR-3573
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler
         Environment: Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, 
sharing), oracle 11.2.0.3.0, Solr-trunk
            Reporter: Bjorn Hijmans


When selecting a CLOB in the deltaImportQuery, the CLOB will not be freed which 
will cause the Oracle process to use up all memory on the Oracle server.

I'm not very good at java, but I think changes need to be made in 
FieldReaderDataSource.java. In the getData method, the characterStream from the 
Clob needs to be copied to a new stream, so the clob can be freed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to