Ashish Rangole wrote:
Hi Armin,
Armin Waibel wrote:
I am using tomcat 5 and OJB rc6.I use persistent broker interface for queries and ODMG API for writes/updates/deletes. I got java.lang.OutOfMemoryError on tomcat side followed by this message:
[org.apache.ojb.broker.cache.InternalCache] ERROR: Found 1 abandoned objects in local cache, check code to force push to real ObjectCache
Think this error is a side-effect of the OutOfMemoryError, e.g. when a materialization of an object graph will be broken.
Thanks a lot for responding. Can OJB recover from this without administrator having to restart the server (which in this case is Tomcat)?
The
>>> [org.apache.ojb.broker.cache.InternalCache] ERROR:....
could be ignored it only call attention to the fact that not all internal cached objects are passed to ObjectCache.
If the used PB will be closed after the error (done on Transaction rollback), all resources should be cleaned.
I shall greatly appreciate it if somebody could please explain me what this means and how to correct the problem.
Don't have a clue, seems OJB needs more memory ;-) Do you think OJB cause a memory leak?
I do not know yet. Probably will have to run in a memory profiler. Has anybody reported memory leaks in OJB when PB/ODMG API is used?
AFAIK no.
regards, Armin
Thanks and Regards Ashish
"What hobbyist can put 3-man years into programming, finding all bugs, documenting his product and distribute for free?" -- Bill Gates, An Open Letter to Hobbyists, 1976
--------------------------------------------------------------------- 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]
