Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3133

MergingRecordBatch can leak memory if query is canceled before batches in rawBatches were loaded

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      MergingRecordBatch stores batches in an array list before loading them with RecordBatchLoader. If the query is canceled before all received batches are loaded, some of the batches won't be cleaned up.

        Attachments

        1. DRILL-3033.1.patch.txt
          8 kB
          Deneche A. Hakim
        2. DRILL-3133.2.patch.txt
          8 kB
          Deneche A. Hakim

          Activity

            People

            • Assignee:
              sphillips Steven Phillips
              Reporter:
              adeneche Deneche A. Hakim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: