We are encountering a memory leak when using the java api for domino from j2ee servers like websphere.
As far as we know, we are following all the necessary rules to use it:
-
initThread() and termThread() at the beginning and end of processing
-
Do a single Session.recycle() at the end of processing, just before termThread()
Yet, we see that memory get’s lost. Created some memory dumps in the processing time, and indeed the dumps identify a process named “java” that, is growing on handles and allocated memory.
At the beginning:
27 process private memory pools
13 MB total pools size
3 MB total pools used
After five days:
120 process private memory pools
59 MB total pools size
16 MB total pools used
May not be much, but there definitely is a leak. Unfortunately we have no clue how to analyze the further information in this dump, and how it could help us, finding the leak.
Anybody got any tip? Thanks in advance