phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maryann Xue (JIRA)" <>
Subject [jira] [Updated] (PHOENIX-2556) Subqueries are not freeing hash cache
Date Mon, 04 Jan 2016 18:53:39 GMT


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:
>             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

View raw message