[
https://issues.apache.org/jira/browse/DRILL-3046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545780#comment-14545780
]
Deneche A. Hakim commented on DRILL-3046:
-----------------------------------------
just tried the query on the master and I don't see a leak any more:
{noformat}
0: jdbc:drill:zk=local> select * from sys.memory;
+------------------+------------+---------------+-------------+-----------------+---------------------+-------------+
| hostname | user_port | heap_current | heap_max | direct_current
| jvm_direct_current | direct_max |
+------------------+------------+---------------+-------------+-----------------+---------------------+-------------+
| abdel-11.qa.lab | 31010 | 845136448 | 4116709376 | 9798941
| 100873640 | 8589934592 |
+------------------+------------+---------------+-------------+-----------------+---------------------+-------------+
1 row selected (0.619 seconds)
0: jdbc:drill:zk=local> select * from `memleak.json`;
Error: SQL statement execution canceled; ResultSet now closed. (state=,code=0)
0: jdbc:drill:zk=local> select * from sys.memory;
+------------------+------------+---------------+-------------+-----------------+---------------------+-------------+
| hostname | user_port | heap_current | heap_max | direct_current
| jvm_direct_current | direct_max |
+------------------+------------+---------------+-------------+-----------------+---------------------+-------------+
| abdel-11.qa.lab | 31010 | 764707776 | 4116709376 | 9798941
| 201458674 | 8589934592 |
+------------------+------------+---------------+-------------+-----------------+---------------------+-------------+
1 row selected (0.121 seconds)
{noformat}
> 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.1.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)