9001: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
m (1 revision)
 
No edit summary
 
Line 2: Line 2:
|9001
|9001
|[[WorkStack]] is full
|[[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.
|There are several possible causes for this error:  
|There are several possible causes for this error:  
*The statement may be too complex.
*The statement may be too complex.
*The string concatenated may be too large.
*The string concatenated may be too large.
*There may be too many nested functions.
*There may be too many nested functions.
|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, but remember that work stack space comes from user memory. Or add a line to BRConfig.sys that says i.e.
|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 64000
  WorkStack 1000000
See also [[System Limits]].
See also [[System Limits]].
}}
}}
[[Category:Error Codes]]
[[Category:Error Codes]]

Latest revision as of 00:58, 29 June 2015

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.