Does anyone know what type of object BLK_MQPOOL is?

Does anyone know what type of object BLK_MQPOOL is?

I’m repeatedly calling a Java agent from LotusScript and I’m trying to resolve the cause of a memory leak in the Java agent. I’ve performed a number of NSD calls and see that an object of type BLK_MQPOOL is growing in both the number of these objects and the memory they consume. It’s the number one object in the top 10 memory usage blocks.

Examples from NSD:

Checking VPOOL 0x8427 (BLK_MQPOOL) msize=16384, membrs=188/1024 Cap 15%

0x8427 3088290 188 BLK_MQPOOL

Am hoping if I can relate this type of object back to a part of the code I may be able to resolve the leak.

Thanks.

Alex

Subject: Some ideas, too.

If you’ve called recycle() obsessively & this turns out to be heap memory …

I’ve noticed the garbage-collector doesn’t get triggered often enough when there are Java agents / packages being called by LotusScript.

I rewrote the Java agents to 1) handle multiple docs in one agent launch, then 2) call garbage-collection explicitly after every 100-150 docs.

With the packages this was tougher. So I just added an agent to wake up every so often and garbage-collect.

Subject: Thanks John…much appreciated

Subject: Message Queue Pool

Maybe this Domino Server Java Agent written by Julian will give you some clues about cleanup

http://www.nsftools.com/tips/JavaAddinTest.java http://www.nsftools.com/tips/JavaAddinTest.java

Subject: Garbage Collection

Hi Mike,

Thanks for the extra tips. Yes I am somewhat obsessive with recycling. With your agent that does the garbage-collection is this an agent written specifically for that purpose or the existing agent that processes your documents?

Thanks.

Alex