[ 
https://issues.apache.org/jira/browse/DRILL-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mehant Baid updated DRILL-3155:
-------------------------------
    Attachment: DRILL-3155-2.patch
                DRILL-3155-1.patch

First patch is a minor refactoring patch moving the classes into the correct 
package. 
Second patch is the one that fixes the issue.

> Composite vectors leak memory
> -----------------------------
>
>                 Key: DRILL-3155
>                 URL: https://issues.apache.org/jira/browse/DRILL-3155
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Mehant Baid
>            Assignee: Mehant Baid
>             Fix For: 1.1.0
>
>         Attachments: DRILL-3155-1.patch, DRILL-3155-2.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to