When trying to replace and hide the design of a database, you receive the following error:
"Design Replace Failed, Memory allocation request exceeded 65,000 bytes".
This was observed when the template being used as the design source had its LotusScript code recompiled using the Designer client's "Recompile All LotusScript" feature.
Note: The Notes 5.x Designer client does not contain the "Recompile All LotusScript" feature, but a template recompiled with the Domino 6.x Designer client can still be used as the source design. Attempting to replace and hide the design under Notes 5.x produces the following version of the error message:
"Memory allocation request exceeded 65,000 bytes"
This issue has been reported to Quality Engineering as SPR# BKOH5YRBR3; however, there are currently no plans to address it in the Notes 5.x/6.x.
The problem can occur in a particular form that contains numerous (e.g., 40 or greater) sections of which some of them are embedded within each other.
To work around the issue, manually resave any forms in the template database that contain a large number of sections.