You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/01/04 02:21:39 UTC

[jira] [Updated] (PHOENIX-2556) Subqueries are not freeing hash cache

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

James Taylor updated PHOENIX-2556:
----------------------------------
    Attachment: PHOENIX-2556_wip.patch

[~maryannxue] - would you have some spare cycles to look at this? I've attached a patch that repros the issue through an assertion that all server-side memory was freed. It seems that when subqueries are used, the hash cache isn't removed on the server side. The ServerCache dependencies member variable in HashJoinPlan don't seem to be rolled up, so this causes a kind of memory leak for the server-side cache.

> Subqueries are not freeing hash cache
> -------------------------------------
>
>                 Key: PHOENIX-2556
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2556
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Maryann Xue
>         Attachments: PHOENIX-2556_wip.patch
>
>
> Subqueries are only freeing some of the server-side hash cache memory, leading to essentially a kind of memory leak.



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