Re: Need help understanding how ContextManager.cleanupOnError could create a 835MB errorStringBuilder

2015-06-17 Thread Bryan Pendleton
I am also a little concerned by the “forever” loop within the ContextManager.cleanupOnError. I wish I could give you more help. About all I can say is: that is some old, old code, and I don't recall it being a problem. That doesn't mean it has no bugs, but I definitely don't know of any. Tha

Need help understanding how ContextManager.cleanupOnError could create a 835MB errorStringBuilder

2015-06-17 Thread Bergquist, Brett
Derby 10.9.1.0 I am battling an OutOfMemory error that periodically occurs. I believe it is triggered by a problem in my code that keeps a set of locks for too long and another thread from another client interaction fails to acquire the locks that it needs and triggers an lock timeout error.