HPlogo System Startup, Configuration, and Shutdown Reference Manual > Chapter 7 Modifying Miscellaneous Configuration Elements

Setting Sizes of Native Mode and Compatibility Mode Stacks

MPE documents

Complete PDF
Table of Contents
Glossary
Index

E0802 Edition 7 ♥
E0201 Edition 6
E0796 Edition 5

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.

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.

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.

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-4 Min. and Max. Values for STACK Parameters shows the minimum and maximum values of the STACK command parameters.

Tabl 7-4 Min. and Max. Values for STACK Parameters

Parameter

Minimum

Maximum

NM2621441068498944
MAXNM2621441068498944
CM2564096
MAXCM25631232
HEAP5242881068498944
MAXHEAP5242881068498944




Setting Session-Related Limits


Setting Strings and String Parameters