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

Andrew Kyle Purtell closed HBASE-513.
-------------------------------------

> Store Mapfile indexes in soft references
> ----------------------------------------
>
>                 Key: HBASE-513
>                 URL: https://issues.apache.org/jira/browse/HBASE-513
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Bryan Duxbury
>            Priority: Major
>
> One of the potentially big consumers of memory in the region server is the 
> mapfile indexes we keep cached for fast access. Rather than building a 
> complex system to try and LRU them ourself, we should use some form of 
> SoftReference or derivative to keep the index around. That way, when our 
> server gets near its memory limit, those indexes will be cleaned up 
> automatically, making room. 
> We would also have to code our accesses of Mapfile in such a way that if a 
> index had been garbage collected, we were able to fetch it again from disk 
> with a minimum of trouble. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to