Recycling documents in FAT databases doesnt work

Hi,

I have written a small java program which retrieves all the databases stored on a domino server. For each database, it then retrieves the documentCollection. It iterates through each document in the collection using getFirstDocument() and getNextDocument() methods.

Suppose my database has around 100,000 documents, i run out of memory. Hence i started recycling document objects.

Now my program runs fine when i crawl web-enabled database. But fails to proceed beyond one document for non-web enabled (FATClient) databases.

Is there any issue with recycling FATClient documents?

Any help will be greatly appreciated.

-Priya

Subject: Recycling documents in FAT databases doesnt work

what do you mean by “web-enabled” database? you use different code or what? any Domino database is “web enabled” by default. So there might be more to it.

And yes, you need to recycle documents. You maybe post your code (or a simplified version that shows the prob)? it’s not a generic problem, so it must be related to the way you are doing things; for example recycling the document before doing getNextDocument() or some such.