[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

manik.surtani@jboss.com do-not-reply at jboss.com
Thu May 22 04:29:52 EDT 2008

1.  Regarding soft references in the cache, again this isn't something that people have asked for; you're the first.  Feel free to raise a JIRA for it.

2.  There is no memory-based eviction policy yet (see JBCACHE-11).  Have a look, vote for it, and if you have the time maybe even contribute an implementation!  :-)

3.  Your best bet is to use an LFU or LRU policy, fixed to a number of nodes in memory.  If you know what you put in each node and how much memory (approximately) each object consumes, you can "estimate" what your maxNodes value should be for your region.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152577#4152577

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152577

More information about the jboss-user mailing list