9001

From BR Wiki
Jump to navigation Jump to search

Summary:

WorkStack is full

There are two main types of user data memory used by Business Rules, 1) program variable storage and 2) temporary working data. The work stack holds the temporary data during program statement execution. Similar to the RPN stack, if data is place on the stack, perhaps by issuing a function call with parameters passed by value, and other functions are then called the stack can become full.


Cause:

There are several possible causes for this error:

  • The statement may be too complex.
  • The string concatenated may be too large.
  • There may be too many nested functions.

Remedy:

Break the statements and expressions into smaller, less complex pieces that contain fewer nested functions. You can also increase the WorkStack setting in the BRConfig.sys file. Or add a line to BRConfig.sys that says:

WorkStack 1000000 

See also System Limits.