[
https://issues.jboss.org/browse/ISPN-863?page=com.atlassian.jira.plugin.s...
]
Marc Bridner commented on ISPN-863:
-----------------------------------
The very naive implementation of freeMemory/totalMemory (configurable as both a percentage
and fixed value) would still be very useful in the cases where Infinispan is the only
thing inside the JVM, an embedded or standalone Infinispan that is accessed remotely by
hotrod for example. It needs a big "USE WITH CARE" warning, but for some
usecases it would be a lot better than the fixed size eviction that is currently in use.
Eviction based on JVM memory utilization
----------------------------------------
Key: ISPN-863
URL:
https://issues.jboss.org/browse/ISPN-863
Project: Infinispan
Issue Type: Enhancement
Components: Eviction
Affects Versions: 4.2.0.Final
Environment: N/A
Reporter: Dave Marion
Assignee: Manik Surtani
Labels: eviction, threshold
Fix For: 6.0.0.Final
Allow user to specify percentage threshold upon which eviction will kick in and begin
evicting entries based on the specified strategy. This would allow user to create a cache
that will attempt to keep as many entries in memory as possible without having to specify
maxEntries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira