Setting Sizes of Native Mode and Compatibility Mode Stacks [ System Startup, Configuration, and Shutdown Reference Manual ] MPE/iX 5.0 Documentation
System Startup, Configuration, and Shutdown Reference Manual
Setting Sizes of Native Mode and Compatibility Mode Stacks
The STACK command (abbreviated ST) configures the default sizes of the NM
and CM stacks and the heap. STACK has the following parameters:
STACK (ST) [NM = default nm stack size]
[MAXNM = max size of nm stack size]
[CM = default cm stack size]
[MAXCM = max size of cm stack]
[HEAP = default nm heap-size]
[MAXHEAP = max size of nm heap]
NM sets the default NM stack size, which is expressed in bytes. The NM
value must be less than the values of MAXNM (see below).
MAXNM sets the maximum NM stack size, which is expressed in bytes.
CM sets the default CM stack size, which is expressed in words (16 bits
in length). The value set for the CM parameter must be less than the
value set for the MAXCM parameter (see below).
MAXCM sets the maximum allowable CM stack size.
HEAP sets the default heap size, which is expressed in bytes. The value
must not exceed MAXHEAP (see below).
MAXHEAP sets the maximum heap size, which is expressed in bytes.
To change one of the STACK parameters, enter the STACK command and at
least one parameter to change. Here are two examples. The first is
keyword and the second is positional.
mi>STACK NM=262144 CM=4096
mi>STACK 262144 262144,,20000
Table 7-5 shows the minimum and maximum values of the STACK command
parameters.
Table 7-4. Min. and Max. Values for STACK Parameters
----------------------------------------------
| | | |
| Parameter | Minimum | Maximum |
| | | |
----------------------------------------------
| | | |
| NM | 262144 | 1068498944 |
| | | |
----------------------------------------------
| | | |
| MAXNM | 262144 | 1068498944 |
| | | |
----------------------------------------------
| | | |
| CM | 256 | 4096 |
| | | |
----------------------------------------------
| | | |
| MAXCM | 256 | 31232 |
| | | |
----------------------------------------------
| | | |
| HEAP | 524288 | 1068498944 |
| | | |
----------------------------------------------
| | | |
| MAXHEAP | 524288 | 1068498944 |
| | | |
----------------------------------------------
MPE/iX 5.0 Documentation