[
https://issues.apache.org/jira/browse/DRILL-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mehant Baid updated DRILL-640:
------------------------------
Attachment: DRILL-640.patch
github link: https://github.com/mehant/incubator-drill/tree/limit
> Limit operator leaks memory when used with exchanges
> ----------------------------------------------------
>
> Key: DRILL-640
> URL: https://issues.apache.org/jira/browse/DRILL-640
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Mehant Baid
> Assignee: Mehant Baid
> Attachments: DRILL-640.patch
>
>
> Limit operator currently invokes kill() when it reaches the desired limit of
> records. Current semantic of kill() does not stop upstream operators if they
> are across exchanges. So its the responsibility of the operator to drain out
> all the record batches and clear the memory, otherwise we will hit memory
> leaks.
--
This message was sent by Atlassian JIRA
(v6.2#6252)