Project

General

Profile

« Previous | Next » 

Revision 7186

use LRU eviction policy and a small (1000) map size limit to avoid running out of memory because of a large number of system metadata objects

View differences:

lib/hazelcast.xml
62 62

  
63 63
  <map name="hzSystemMetadata">
64 64
    <backup-count>3</backup-count>
65
    <eviction-policy>NONE</eviction-policy>
66
    <max-size policy="cluster_wide_map_size">0</max-size>
65
    <eviction-policy>LRU</eviction-policy>
66
    <max-size policy="cluster_wide_map_size">1000</max-size>
67 67
    <eviction-percentage>25</eviction-percentage>
68 68
    <merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
69 69
    <map-store enabled="true">

Also available in: Unified diff