When I run certain agents, in which I recycle my objects I sometimes get this message when running the agents:
java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:3580)
    at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:129)
    at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:104)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:164)
    at lotus.domino.ClassHashtable.explodeArchive(Unknown Source)
    at lotus.domino.ClassHashtable.addAttachment(Unknown Source)
    at lotus.domino.AgentLoader.addAttachment(Unknown Source)
How can I find out in which agent or which object this memory gets full? And how can I empty the memory again..
 
     
    