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

Composite vectors leak memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: