You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Guillaume Nodet <gu...@deliasystems.com> on 2004/02/03 13:52:38 UTC
Memory problems using default cache
When using the default cache implementation, i run out of memory when
performing a great amount of object storings with ojb. I saw a post some
weeks ago saying that someone ran into the same problem. An idea was that
the cache keys were not garbaged, even if objects were (via SoftReference).
I also saw that there was an implementation of a LRU cache that was begun
(ObjectCacheSoftImpl). I added the right constructor to it, and used it. It
seems to work great. So my question is: will this ObjectCacheSoftImpl class
will be supported, or should i continue to use my own derived implementation
?
Guillaume Nodet
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org