Tino Sch�llhorn wrote:
Hi Armin,
I am using the ObjectCachePerBrokerImpl so I added:
org.apache.ojb.broker.cache.ObjectCachePerBrokerImpl.LogLevel=DEBUG
to my OJB.properties file.
But there is no debugging-output. :-(
This implementation does not use logging (add your own logging entries?). Have a look at the source.
By the way, this implementation use SoftReference too for object caching. Thus the memory problem shouldn't caused by this class.
Maybe your JVM doesn't have enough memory to solve your query.
regards, Armin
Tino
Armin Waibel wrote:
Hi,
Tino Sch�llhorn wrote:
Hi,
I am frequently encountering OutOfMemory-Errors in my application. Is there a way to debug information about the used cache of OJB?
set logging level to debug for the used ObjectCache implementation (e.g. if using OJB default logging api, add an entry to OJB.properties).
The default cache implementation (ObjectCacheDefaultImpl) use SoftReferences to cache objects, thus this shouldn't cause the memory problem.
regards, Armin
Tino
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
