[
https://issues.apache.org/jira/browse/PHOENIX-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maryann Xue updated PHOENIX-2556:
---------------------------------
Attachment: PHOENIX-2556.patch
Thanks a lot, [~jamestaylor]! I have found the problem: the skip-scan-join did
not call ResultIterator.close() for sub-plan iterators. A skip-scan-join does
not create a hash cache itself, but may contain sub-plans that do (in which
case they are a normal join). ResultIterator.close() is called within
HashCacheClient.addHashCache(), so a normal join does not have this problem.
> 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
> Fix For: 4.7.0
>
> Attachments: PHOENIX-2556.patch, 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)