You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2015/05/13 01:57:00 UTC
[jira] [Created] (DRILL-3046) Memory Leak after cancelling a query
Rahul Challapalli created DRILL-3046:
----------------------------------------
Summary: 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: Chris Westin
Priority: Critical
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)