Memory allocation request exceeded 65,000 bytes

Not sure if anyone else has run into that before:

Running the agCleanup agent in the domlog.nsf is raising the following error:

Memory allocation request exceeded 65,000 bytes

While the message is a bit misleading, the cause is quite reasonable once discovered.

In this particular case the entity running the agent did not have access to delete document in the domlog.nsf. This is inherited from the domlog.ntf template for LocalDomainAdmins.
Domino is writing an error line into the agent log for each document it  is attempting to delete.
With the vast number of documents that are to be deleted from the database on a daily basis, the logging field of the agent is reaching the 64K limit.

The solution: Grant deletion rights to the entity running the agent.

Leave a Reply

Your email address will not be published. Required fields are marked *