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/14 03:37:59 UTC

[jira] [Assigned] (DRILL-3046) Memory Leak after cancelling a query

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

Deneche A. Hakim reassigned DRILL-3046:
---------------------------------------

    Assignee: Deneche A. Hakim  (was: Venki Korukanti)

> Memory Leak after cancelling a query
> ------------------------------------
>
>                 Key: DRILL-3046
>                 URL: https://issues.apache.org/jira/browse/DRILL-3046
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 1.0.0
>            Reporter: Rahul Challapalli
>            Assignee: Deneche A. Hakim
>            Priority: Critical
>             Fix For: 1.0.0
>
>         Attachments: DRILL-3046.1.patch.txt, memleak.json
>
>
> git.commit.id.abbrev=d10769f
> There seems to be a memory leak after cancelling the query immediately after it is started
> {code}
> 0: jdbc:drill:schema=dfs_eea> select * from sys.memory;
> +------------+------------+--------------+------------+----------------+--------------------+------------+
> |  hostname  | user_port  | heap_current |  heap_max  | direct_current | jvm_direct_current | direct_max |
> +------------+------------+--------------+------------+----------------+--------------------+------------+
> | qa-node191.qa.lab | 31010      | 171717928    | 4151836672 | 11799087       | 100676662          | 34359738368 |
> | qa-node190.qa.lab | 31010      | 286131528    | 4151836672 | 7750365        | 50345014           | 34359738368 |
> +------------+------------+--------------+------------+----------------+--------------------+------------+
> 2 rows selected (1.022 seconds)
> 0: jdbc:drill:schema=dfs_eea> select * from `memleak.json`;
> Error: SQL statement execution canceled; resultSet closed. (state=,code=0)
> 0: jdbc:drill:schema=dfs_eea> select * from sys.memory;
> +------------+------------+--------------+------------+----------------+--------------------+------------+
> |  hostname  | user_port  | heap_current |  heap_max  | direct_current | jvm_direct_current | direct_max |
> +------------+------------+--------------+------------+----------------+--------------------+------------+
> | qa-node190.qa.lab | 31010      | 293009856    | 4151836672 | 7750365        | 83899446           | 34359738368 |
> | qa-node191.qa.lab | 31010      | 633074864    | 4151836672 | 4307525428     | 4479530038         | 34359738368 |
> +------------+------------+--------------+------------+----------------+--------------------+------------+
> 2 rows selected (0.775 seconds)
> {code}



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