Memory use with java agents

i have a few java agents that create jpeg images and save them to the hard drive. I use lotus script to invoke the agents, embed the images into the document, then kill the images. In the java agents, i recycle all the notes objects i use. However, every time i run the agents, the memory that nlnotes.exe increases until finally the client runs out of memory and i have to exit and restart the client.

Any suggestions on how to get notes to release the memory?

Thanks in advance…

Subject: memory use with java agents

Please post the code of the agent. Maybe we can spot what is going wrong.

Subject: RE: memory use with java agents

i posted the code at http://www.zeebo.com/javaagent.htm

also, the java agent calls a script library that handles the image building, but, it is not using notes java at all so all the objects should be recycled by the jvm.