Kbase P27457: Error 5635 and increasing the -s parameter
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  28/01/2005 |
|
Status: Unverified
SYMPTOM(s):
Getting error when running a specific program.
-s exceeded. Raising STOP condition and attempting to write stack trace to file 'procore'. Consider increasing -s startup parameter. (5635)
CAUSE:
The stack size is too small for the application's needs.
FIX:
Use Stack Size (-s) to change the size of the stack (an internal memory area used by Progress program modules).
The default value for this client startup parameter is 40 k.
Since the parameter is memory dependent, the maximum for this value is limited by the available memory.
There is no specific rule on calculating the value this parameter should have. It is very much a matter of trial and error since it's need is dependent on the application that is using the stack.
Stack overflow errors are most likely when data definitions are loaded for very large tables or use recursive procedures.