drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pritesh Maker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-5310) Memory leak in managed sort if OOM during sv2 allocation
Date Thu, 08 Mar 2018 00:19:00 GMT

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

Pritesh Maker updated DRILL-5310:
    Fix Version/s:     (was: 1.13.0)

> Memory leak in managed sort if OOM during sv2 allocation
> --------------------------------------------------------
>                 Key: DRILL-5310
>                 URL: https://issues.apache.org/jira/browse/DRILL-5310
>             Project: Apache Drill
>          Issue Type: Sub-task
>    Affects Versions: 1.10.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Major
> See the "identical1" test case in DRILL-5266. Due to misconfiguration, the sort was given
too little memory to make progress. An OOM error occurred when allocating an SV2.
> In this scenario, the "converted" record batch is leaked.
> Normally, a converted batch is added to the list of in-memory batches, then released
on {{close()}}. But, in this case, the batch is only a local variable, and so leaks.
> The code must release this batch in this condition.

This message was sent by Atlassian JIRA

View raw message