[ 
https://issues.apache.org/jira/browse/DRILL-8455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763610#comment-17763610
 ] 

shihuafeng commented on DRILL-8455:
-----------------------------------

i think fix 

try {
left.prepare();
right.prepare();
} catch (Exception e) {
{color:#FF0000}left.close();{color}
{color:#FF0000}right.close();{color}

throw e;
}

> mergejion memory leak when  exception
> -------------------------------------
>
>                 Key: DRILL-8455
>                 URL: https://issues.apache.org/jira/browse/DRILL-8455
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.20.0
>            Reporter: shihuafeng
>            Priority: Major
>              Labels: leak, memory-bug
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> when  mergerjoin operator  spilling data to disk ,it generate following 
> exception:  
> mergerjoin operator  can not untimely invoke release() to free memory
>  
> +
> {code:java}
> org.apache.drill.common.exceptions.UserException: RESOURCE ERROR: External 
> Sort encountered an error while spilling to disk{code}
> +



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to