-
1. Re: memory leak
manik Mar 1, 2007 1:38 PM (in response to gmeroz)Thanks for this, will investigate.
-
-
3. Re: memory leak
jason.greene Mar 2, 2007 9:02 PM (in response to gmeroz)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 -
4. Re: memory leak
gmeroz Mar 5, 2007 4:30 AM (in response to gmeroz)I think there should be a way to clear an entire area in the cache (as a bulk). Finding all the POJOs in the cache and deleting them one by one, sound expensive.