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

Composite vectors leak memory

    XMLWordPrintableJSON

    Details

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

      Description

      While allocating memory for variable width vectors we first allocate the necessary memory for the actual data followed by the memory needed for the offset vector. However if the first allocation for the data buffer succeeds and the one for the offset vector fails we don't release the buffer allocated for the data causing memory leaks.

        Attachments

        1. DRILL-3155-1.patch
          50 kB
          Mehant Baid
        2. DRILL-3155-2.patch
          13 kB
          Mehant Baid

          Activity

            People

            • Assignee:
              hgunes Hanifi Gunes
              Reporter:
              mehant Mehant Baid
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: