Java agents with imported .jar files  

By Ulrich Krause | 3/22/21 2:10 AM | Development - Notes / Domino | Added by Andi Kress

Many of us Notes developers know the problem. You have developed a Java agent that contains methods from imported .jar files in addition to the actual code. When the agent is executed on a HCL Domino server, it works for a while ( sometimes longer, sometimes shorter ), but then causes problems due to memory leaks. The problem lies in the architecture of Domino. The imported .jar files are reloaded every time the agent is started and over time they use more and more RAM.