You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2015/05/21 01:29:00 UTC

[jira] [Comment Edited] (DRILL-3147) tpcds-sf1-parquet query 73 causes memory leak

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

Deneche A. Hakim edited comment on DRILL-3147 at 5/20/15 11:28 PM:
-------------------------------------------------------------------

For this query, a HashJoin builds an empty hash table and thus it can finish the query right away. It will kill it left stream which will send a "receiver finished" message to all it's senders, and then close it's resources (including it's allocator).
If at the same time, a batch has just been received from one of the senders, sometimes the fragment's allocator will close itself before the rpc layer (including DataServer) had time to release all references to the batch's buffer


was (Author: adeneche):
For this query, a HashJoin builds an empty hash table and thus it can finish the query right away. It will kill it left stream which will send a "receiver finished" message to all it's senders, and then close it's resources (including it's allocator).
If at the same time, a batch has just been received from one of the senders, sometimes the fragment's allocator will close itself before the rpc layer (DataServer) had time to release all references to the batch's buffer

> tpcds-sf1-parquet query 73 causes memory leak
> ---------------------------------------------
>
>                 Key: DRILL-3147
>                 URL: https://issues.apache.org/jira/browse/DRILL-3147
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Deneche A. Hakim
>            Assignee: Deneche A. Hakim
>             Fix For: 1.1.0
>
>
> the leak seems to appear when BaseRawBatchBuffer.enqueue() tries to release a batch but the allocator has already been closed 



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