Memory Is Not Released by the LotusScript PRINT and MESSAGEBOX Statements
Wow... this is a sneaky little bug that I didn't know about... Whoops... 'Cuse me... That's a "feature" as it is now documented... :-)
From the KnowledgeBase...
Memory Is Not Released by the LotusScript PRINT and MESSAGEBOX Statements
Document Number:
1089676
Problem
Under certain circumstances, the Print
and MessageBox LotusScript statements consume memory without releasing
it.
For example, when a particular customer
included the Print statement in a loop with a large number of cycles, a
crash occurred with the following error:
"Maximum number of memory segments
that Notes can support has been exceeded"
Content
The memory used by the Print and Messagebox
commands is released once the agent finishes running. The workarounds
are to avoid using the statement(s) in large loops or reduce the number
of statements.
This issue was reported to Lotus Quality
Engineering; however, it was determined that LotusScript is functioning
as designed.



Comments
Posted by Ben Langhinrichs At 12:05:12 On 05/11/2003 | - Website - |
Posted by Jerry Carter At 11:00:11 On 05/11/2003 | - Website - |
Posted by Thomas Duff At 12:12:56 On 05/11/2003 | - Website - |
I was having that problem with a R5.11 server.
Posted by Jerry Carter At 07:12:21 On 06/11/2003 | - Website - |