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

Jacques Nadeau resolved DRILL-336.
----------------------------------

    Resolution: Fixed

merged in e80c32e

> Extend off heap memory manager to support growing vectors
> ---------------------------------------------------------
>
>                 Key: DRILL-336
>                 URL: https://issues.apache.org/jira/browse/DRILL-336
>             Project: Apache Drill
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-rc1
>            Reporter: John Morris
>              Labels: patch, performance
>             Fix For: 1.0.0-rc1
>
>
> Add the following interfaces to the bufferl memory manager:
>   ptr = alloc(size, min, max) - allocate a block with given size, but
>                                                with a total capacity between 
> min+max.
>   trim(ptr) - free up extra capacity, so current size is the capacity
> Rationale: It isn't always possible to anticipate the size of a vector. When 
> creating a new vector, one strategy is to over-allocate the vector and then 
> trim the size once the vector is complete. These routines allow us to 
> implement this strategy.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to