Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.0.0
-
None
Description
git.commit.id.abbrev=d10769f
There seems to be a memory leak after cancelling the query immediately after it is started
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)