Hi, > since I changed the class cache implementation from > ObjectCacheEmptyImpl to ObjectCachePerBrokerImpl, > my application don´t stop to consume more memory, > and never free any memory.
made some tests, seems all works fine. If you call PB.abortTransaction() or PB.close() the ObjectCache #clear() method was called and ObjectCachePerBrokerImpl release all objects. Try to debug ObjectCachePerBrokerImpl with debugger or put some System.println in source to see if #clear() method was called. Did you call System.gc() in your test to explicit run the GC? regards, Armin ----- Original Message ----- From: "Leandro Augusto de Almeida" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 3:27 PM Subject: Memory and ObjectCachePerBrokerImpl > Hi, > > I'm having some problems with ObjectCachePerBrokerImpl, since I changed the class cache implementation from ObjectCacheEmptyImpl to ObjectCachePerBrokerImpl, my application don´t stop to consume more memory, and never free any memory. I'm working with one PersistenceBroker per Thread, but when I close the pb the memory isn´t released (when I was using ObjectCacheEmptyImpl any memory was allocated by the cache but I need to improve the performance and the cache is helpping me a lot). > Thanks in advance, > > Leandro. > > PS: sorry for my English. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
