Data Type
IntegerUnits
BytesDefault Value
System dependentDescription
Threads allocate private storage dynamically when they are executed from a memory area called the stack. This includes any local variables or arrays dimensioned in the program. It does not include static arrays that appear in common blocks or the memory managed by FMS. If you exceed the stack size, unpredictable results occur.
FMS sets the default value during the call to FMSINI. Generally this is the value specified in the shell limit, or the amount required by FMS.
If you are using the FMS parallel processing utilities FMSPAR to run your subroutines in parallel, than the amount of stack size required may need to be increased, depending on the amount of local storage required by your application.
Because the maximum stack size is set during thread creation, this parameter must be set in the License File.