Chapter Contents

Previous

Next
MEMLEAVE=

MEMLEAVE=



specifies the amount of memory in the user's region that is reserved exclusively for the use of the operating environment

Default: 512K
Valid in: configuration file, SAS invocation
Category: System Administration: MEMORY
OS/390 specifics: all


Syntax
Details
See Also

Syntax

MEMLEAVE=n | nK | nM | MIN | hexX

n | nK | nM
specifies the amount of memory reserved in bytes, kilobytes, megabytes, or gigabytes, respectively.

MIN
specifies the amount of memory reserved as the minimum value, 0 bytes.

hexX
specifies the amount of memory reserved as a hexadecimal number of bytes.


Details

MEMLEAVE= reserves memory in your region that will not be used by SAS. A minimum memory reservation is required so that the operating environment can perform cleanup activities in the event of an abnormal termination of SAS. You may need to reserve additional memory based on the amount of processing taking place in your region outside of SAS.

The MEMLEAVE= system option relates to the MEMSIZE= system option. To minimize out-of-memory conditions, do not specify a value for the MEMSIZE= option. Instead, leave the value of MEMSIZE= at its default value. This prevents the possibility of your MEMSIZE= value exceeding the size of your memory region. If this occurs, SAS uses up all of its memory before it runs its automatic memory recovery programs. By specifying MEMLEAVE= and leaving MEMSIZE= at its default value, you are ensured that you have memory reserved for cleanup and that memory recovery programs will run to help prevent out-of-memory conditions, regardless of the size of your region.

It should be noted that the value of MEMLEAVE= has no bearing on the values of the PROCLEAVE= and SYSLEAVE= system options. MEMLEAVE= reserves memory that is never used by SAS--it is used exclusively by the operating environment. PROCLEAVE= and SYSLEAVE= reserve SAS memory only.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.