Hi all,

Well, our team experiment some memory leaks using the LockManager in remote
mode, with the servlet and so, the LockManagerRemoteImpl.

It seems that, after a while, in the LockManagerInMemoryImpl (use by
LMRemoteImpl), some LockObject instances are stored in the static HashMap
keyLockMap  whereas the static LinkedMap resourceLockMap no more contains
references to that instances. What is sure, is that those locks never
expire.

It results that memory usage grows and LockManager server crashes with an
OutOfMemoryException.

Using the last implementation of LMRemoteImpl, LMInMemoryImpl, LMServlet
over OJB 1.0.4. JVM 1.4.

Thanks for any ideas.

Regards.

Bruno.

Reply via email to