Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3573

Data import does not free CLOB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing), oracle 11.2.0.3.0, Solr-trunk

    Description

      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.

      Attachments

        1. oracle_clob_freetemporary.diff
          1 kB
          Bjorn Hijmans

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bjornhij Bjorn Hijmans
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: