How do I make sure nodes are evicted as per the
configuration . I have following eviction policy set up but do not see any
reduction in memory USAGE. Memory is keep increasing with new data added.
<attribute name="EvictionPolicyConfig">
<config>
<attribute
name="wakeUpIntervalSeconds">3</attribute>
<!-- This defaults to 200000 if not specified -->
<attribute
name="eventQueueSize">200000</attribute>
<attribute
name="policyClass">org.jboss.cache.eviction.LFUPolicy</attribute>
<!-- Cache wide default -->
<region
name="/_default_"
>
<attribute
name="maxNodes">100</attribute>
<attribute
name="minTimeToLive">120</attribute>
</region>
<region
name="/ASOF_RML/">
<attribute
name="maxNodes">10</attribute>
<attribute
name="minNodes">50</attribute>
<attribute
name="minTimeToLive">10</attribute>
</region>
</config>
</attribute>
<!-- Cache
Loader configuration block -->
<attribute name="CacheLoaderConfig">
<config>
<!-- if passivation is true, only the first cache
loader is used; the rest are ignored -->
<!-- passivation should be false to retain the data
in secondary cache otherwise node will be deleted after loading to the memery
-->
<passivation>false</passivation>
<!-- comma delimited FQNs to preload -->
<!-- <preload>/ASOF_POSITION</preload>
-->
<shared>false</shared>
Regards,