You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/06/11 09:15:20 UTC

[jira] [Commented] (HIVE-4709) Caching OIs in OIFactory should be disabled

    [ https://issues.apache.org/jira/browse/HIVE-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13680263#comment-13680263 ] 

Brock Noland commented on HIVE-4709:
------------------------------------

Hi,

Just curious, how did you encounter this?

Brock
                
> Caching OIs in OIFactory should be disabled
> -------------------------------------------
>
>                 Key: HIVE-4709
>                 URL: https://issues.apache.org/jira/browse/HIVE-4709
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Navis
>            Assignee: Navis
>         Attachments: HIVE-4709.D11199.1.patch
>
>
> OIFactory has various caches and most of them are accessed by key containing OIs. But OIs are not forced to implement hashCode/equals and that is resulted to some kind of memory leakage. 
> Considering the price of calculating/accessing hashmap, just removing those caches are better solution, IMHO.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira