Cache Eviction
by Kavitha Durai
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,
Kavitha Durai,
This e-mail communication and any attachments may contain confidential and privileged information and are for use by the intended addressee(s) only. If you are not the intended addressee, you have received this communication in error. Any dissemination or reproduction of this email or its contents is strictly prohibited and may be unlawful. If you suspect you have received this communication in error, please notify us immediately by replying to this message and delete it from your computer.Thank you.
14 years, 10 months