1 Reply Latest reply on Jan 11, 2010 2:32 AM by galder.zamarreno

    JBoss Pojo Cache Usage

    hdpham

      Hi,

      I am new to JBoss Pojo Cache and this is what I observe:

      After attaching an element and detaching it from the POJO cache the internal section of the cache only had the node value null out (e.g. the internal node is not actually removed. The user section of the cache behaved correctly, nodes are being removed from the cache tree). With such a behavior I quickly run out of memory. What can I do to clean up the internal cache section?

      I am sure this is just a configuration issue any help would be grateful.

      Tx,

      Hai-Dang

        • 1. Re: JBoss Pojo Cache Usage
          galder.zamarreno

          This has already been reported: PCACHE-85

           

          You could indeed try is to remove the internal fqns yourself using PojoCache.getCache() API. However, you have to be careful because the internal area, maintains metadata related to objects referenced multiple times. So for example, if you have 2 pojos that reference a common object, you'd have to make sure that when deleting one of them, you don't delete the internal fqn for the shared object.