drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Rogers (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-5312) "Record batch sizer" does not include overhead for variable-sized vectors
Date Thu, 06 Apr 2017 21:02:41 GMT

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

Paul Rogers resolved DRILL-5312.
--------------------------------
    Resolution: Fixed

> "Record batch sizer" does not include overhead for variable-sized vectors
> -------------------------------------------------------------------------
>
>                 Key: DRILL-5312
>                 URL: https://issues.apache.org/jira/browse/DRILL-5312
>             Project: Apache Drill
>          Issue Type: Sub-task
>    Affects Versions: 1.10.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>             Fix For: 1.11.0
>
>
> The new "record batch sizer" computes the actual data size of a record given a batch
of vectors. For most purposes, the record width must include the overhead of the offset vectors
for variable-sized vectors. The initial code drop included only the character data, but not
the offset vector size when computing row width.
> Since the "managed" external sort relies on the computed row size to determine memory
usage, the underestimation of row count width can cause an OOM under certain low-memory conditions.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message