13 Replies Latest reply on May 22, 2008 8:57 AM by Peter Kovgan

    Memory management: questions

    Peter Kovgan Newbie


      While I have good inspiration, reading about Jboss cache, I still have a "leakage doubts".

      Memory consumed by the cache is not under absolute control - that worries me.

      I have several questions:
      1. Is it possible to rewrite maps to be kinda Soft Reference in Jboss cache? Do you have Soft/Weak Reference already implemented?
      2. Is it possible to create eviction policies based on actual memory consumption? How hard is it?
      3. What is optimal(less risky) algorithm(approach) to "figure out" right eviction policies to avoid OOM error?

      Thanks a lots!