Out of private handles

Hello,

I’m getting strange behaviour of R6.5.1 server when an scheduled LS agent is executed. It should update cca 50 000 documents, but after about 6000 I start only to get repeated error message on server console:

AllocHandle: OUT OF PRIVATE HANDLES! – pid 0000068B Handles used so far 6399, Maximum handles = 16492, error = 0x107

The worst is that I’m not able to stop the agent manager and so to restart the server.

Also durign this time Java uses about 30% of the CPU. Why is Java involved in LS agent execution? I use only view.getentrybykey and one RichText Item using Navigator and RTDocLink objects. Can anyone explain this to me?

Any suggestions how to get rid of this error?

Thank you,

Martin