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

Antal Sinkovits commented on HIVE-20440:
----------------------------------------

(1) I think because of the soft values, the GC decides when to clean up them. 
(When it needs more memory)

(2) AFAIK we can use them together, but it won't stop the GC from clearing the 
values.

> Create better cache eviction policy for SmallTableCache
> -------------------------------------------------------
>
>                 Key: HIVE-20440
>                 URL: https://issues.apache.org/jira/browse/HIVE-20440
>             Project: Hive
>          Issue Type: Improvement
>          Components: Spark
>            Reporter: Antal Sinkovits
>            Assignee: Antal Sinkovits
>            Priority: Major
>         Attachments: HIVE-20440.01.patch, HIVE-20440.02.patch, 
> HIVE-20440.03.patch, HIVE-20440.04.patch
>
>
> Enhance the SmallTableCache, to use guava cache with soft references, so that 
> we evict when there is memory pressure.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to