re create the cache by limiting percentage of the total heap memory concode_field_sep int STRING_OVERHEAD concode_elem_sep int BLOCK_READER_OVERHEAD concode_elem_sep float DEFAULT_HEAP_MEMORY_PERCENTAGE concode_elem_sep Cache<String,BlockReader> singleCache concode_elem_sep boolean enableStats concode_field_sep long getCacheSize concode_elem_sep int weigh concode_elem_sep Cache<String,BlockReader> getCache concode_elem_sep void setEnableStats concode_elem_sep Cache<String,BlockReader> buildCache concode_elem_sep BlockReader get concode_elem_sep void main concode_elem_sep void createDefaultCache concode_elem_sep void invalidateKeys concode_elem_sep void put
Cache < String , BlockReader > function ( int arg0 , int arg1 , float arg2 ) { CacheBuilder loc0 = CacheBuilder . newBuilder ( ) . arg0 ( arg0 ) . arg1 ( arg1 ) . maximumWeight ( ( long ) ( ManagementFactory . getMemoryMXBean ( ) . getHeapMemoryUsage ( ) . getMax ( ) * arg2 ) ) . weigher ( new KVWeigher ( ) ) ; return buildCache ( loc0 ) ; }