Mike Woolsey commented on Apr 21, 2015

I've run into situations where the Java heap is quickly exhausted.

That crashes the server. I've had to resort to calling garbage collector System.gc() periodically to clean up the place.

The objects thatre building up seem to be recycle() ed, all. But gc() still seems required.

Jann ja Forrer commented on Apr 20, 2011

Re: Java memory management in Notes/Domino

Within the code example there is a

Document temp = null;

before starting the while loop.

Jann