I think the following rule was causing the server to run out of memory. In watching the log viewer when this was running, it ran and ran, then finally got an out of memory error:
If Control.DateSubmitted>Control.DateSubmitted_DUE
Then
Control.DaysLate=DAY_DIFFERENCE(Control.DateSubmitted,Control.DateSubmitted_DUE)
Else Control.DaysLate=UNDEFINED
When I eliminated the above rule, the problem disappeared. I later implemented it as 2 seperate rules:
If Control.DateSubmitted>Control.DateSubmitted_DUE
Then
Control.DaysLate=DAY_DIFFERENCE(Control.DateSubmitted,Control.DateSubmitted_DUE)
If NOT(Control.DateSubmitted>Control.DateSubmitted_DUE)
Then Control.DaysLate=UNDEFINED
Do you see anything wrong with the first rule?
Thanks,
Tom