JBoss Community

Re: JBoss Cache - Memory Leak when many Fqn/nodes added in Cache

created by Vignesh Prabhu in JBoss Cache - View the full discussion

Hi Sathish,

 

Even we see that the eviction policy respects only the leaf node and does not cleanup even the empty parent nodes.

 

Changes the code

from

String identifier = identifier_prefix + "/" + i + "/data/";

to

String identifier = identifier_prefix + "/" + i;

 

IMO this should work. I guess it evicts only leaf nodes.

 

Cheers,

Vignesh

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community