[jboss-user] [JBossCache] - Re: memory leak

jason.greene@jboss.com do-not-reply at jboss.com
Fri Mar 2 21:02:17 EST 2007


This is a usage problem. PojoCache creates internal nodes in /__JBossInternal__ which aren't cleared since PojoCache is bypassed for the bulk delete operation. So basically any object that has attach() called on it, can only be removed via the PojoCache detach method.

Also, the structure __JBossInternal__ is not considered public so you should not attempt to modify it yourself.

So the only way to do a bulk delete operation at the moment, is to iterate over all of the ids and call detach() on each one. Feel free to create a feature request if this is not sufficient.

-Jason

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

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



More information about the jboss-user mailing list