Try OpenEdge Now
skip to main content
Startup Command and Parameter Reference
Startup Parameter Descriptions : Stack Size (-s)
 

Stack Size (-s)

Use Stack Size (-s) to change the size of the stack (an internal memory area used by ABL program modules).
Operating system and syntax
UNIX / Windows
-s n
Use with
Maximum value
Minimum value
Single-user default
Multi-user default
Client Session   
5,242,8781
9
128
128

1 Actual maximum value is limited only by available memory

n
The size of the stack in 1KB units.
Note: The default is value 128, and Progress recommends against setting it to a lower value. Setting this startup parameter to a value less than 128 may result in runtime errors in some environments.
Increase the stack size if one of the following messages appears:
SYSTEM ERROR: stkpush: stack overflow. Increase -s parameter.
SYSTEM ERROR: stkditem: stack overflow. Increase -s parameter.
Stack overflow errors are most likely when data definitions are loaded for very large tables or use recursive procedures.
Note: If your application passes array parameters to procedures or functions, your stack size requirements can increase significantly.