Run next code as third party program on Domino binaries.
PATH must point to Domino location and Notes.jar must be from Domino.
It will crash Domino server within few minutes. The reason is that Domino has Handle Leak on every create\recycle session. It will free only if Java program will stop.
The same code works correct with Notes Client
There is dummy work around. I am not sure it will stable and appropriate for any
If test will stop without closing notes thread (incorrect closing) then Domino will generate message in the console:
"process ... javaw.exe ... has terminated abnormally"
In the case of this message begin to showing in the domino console, then handle counts will not rising and this code will work without crash.