IDEMPIERE-3653 1007767 Possible memory leak. Update default cache size limit for hazelcast

This commit is contained in:
Heng Sin Low 2017-03-27 20:16:36 +08:00
parent 47043bd0f5
commit f80cb9ca7a
1 changed files with 2 additions and 2 deletions

View File

@ -143,14 +143,14 @@
LFU (Least Frequently Used). LFU (Least Frequently Used).
NONE is the default. NONE is the default.
--> -->
<eviction-policy>NONE</eviction-policy> <eviction-policy>LRU</eviction-policy>
<!-- <!--
Maximum size of the map. When max size is reached, Maximum size of the map. When max size is reached,
map is evicted based on the policy defined. map is evicted based on the policy defined.
Any integer between 0 and Integer.MAX_VALUE. 0 means Any integer between 0 and Integer.MAX_VALUE. 0 means
Integer.MAX_VALUE. Default is 0. Integer.MAX_VALUE. Default is 0.
--> -->
<max-size policy="cluster_wide_map_size">0</max-size> <max-size policy="cluster_wide_map_size">2000</max-size>
<!-- <!--
When max. size is reached, specified percentage of When max. size is reached, specified percentage of
the map will be evicted. Any integer between 0 and 100. the map will be evicted. Any integer between 0 and 100.