Hello,I am new to Lotus Notes. I am using Notes 6.5.1. I have written a code to count the number of entities i.e number of databases, documents and attachments in my local Notes.
However, if there are larger number of documents, say 5000 or more in a database, an exception is thrown of the follwoing type :
AllocHandle: OUT OF PRIVATE HANDLES! – pid 00000D7C Handles used so far 6399, Maximum handles = 16411, error = 0x107
this is soon followed by the following error message :
NotesException: Out of memory
if I use “document.recycle”,
the call to “document.getNextDocument” returns a null value…
Please help at the earliest.
Thanks
Subject: Urgent Help :Out of Memory
if your problem is URGENT you should call IBM for help. If you are willing to wait for someone nice to assist you for FREE then you need to post your code, otherwise nobody here can help you.
Subject: Urgent Help :Out of Memory
I just looked up this code sample to make sure my Java code was properly recycling >>>>> http://www-1.ibm.com/support/docview.wss?uid=swg21097861
You have to use recycle but just use a temporary variable to set your document as depicted in that URL.
Subject: RE: Urgent Help :Out of Memory
Thanks Rami for your help.This worked.
I have gone through the document. Its really helpful.
Thanks once again