• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

We would like to be able to configure a Cache to user SoftReferences.

This is because we want the cache to be able to cache a lot of items, but when the load becomes high, and more memory is needed, cached items should be able to get collected..

Right now swarmcache is the only cache doing this.

Of course we could put a softref in the cache but:

  • We cannot control how hibernate put stuff in the cache by configuring.
  • if the softref gets collected, the cache still has an element in it’s map Sourceforge Ticket ID: 1456821 - Opened By: nobody - 23 Mar 2006 10:03 UTC

Comments

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira