rgn1lmt
Specifies the initial supply of available memory for G2 data other than symbols and graphics images.
Platforms
All platforms
Syntax
-rgn1lmt number-of-bytes
number-of-bytes: The integer 4,750,000or higher, up to the maximum per-process allocation determined by your platform's operating system settings.
Equivalent Environment Variable
Same syntax as number-of-bytes
Description
G2 maintains its supply of available memory in three regions. This option controls the initial supply of available memory in its Region 1 memory pool. G2 uses its Region 1 memory pool to store all data other than symbols and graphics images.
The new G2 process allocates Region 1 memory when it is launched. G2's standard output message at start-up reflects this fact.
For a G2 process the default amount of Region 1 memory is 10,000,000 bytes.
Special Considerations
If your -rgn1lmt option specifies less than the minimum number of bytes, G2 displays a warning standard output message and supplies the minimum amount. Do not include commas when specifying number-of-bytes.
Example
This command starts a new G2 process and directs it to allocate 8,500,000bytes as its initial supply of Region 1 memory:
G2 attempts to allocate more Region 1 memory as is required by the current KB's processing.
Additional Information
For information about G2 memory management, see Chapter 45, Memory Management. For details about Region 1 memory allocation, see in that chapter:
Copyright © 1997 Gensym Corporation, Inc.