Note: This is a tuning parameter that affects system performance.
When eviction is configured, memory consumption or entry count is monitored and, when capacity is reached, GemFire makes way for new entries by removing or overflowing the stalest LRU entries to disk.
If you use disk data overflow to supplement memory for your data cache, make sure you have enough disk space to store the data.
This declaration limits the region to 20,000 entries:
<region-attributes lru-entries-limit="20000" initial-capacity="20000" load-factor="1"> </region-attributes>
Evicted entries can be destroyed or moved to disk as an extension of the cache. See DiskPolicy.
false, do not set the
LruEntriesLimit attribute. An
IllegalStateException is thrown if the attribute is set.
See also Controlling Cache Size.