MEMLEAVE= reserves memory
in your region that SAS does not use. 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 might
need to reserve additional memory based on the amount of processing
that is taking place in your region outside of SAS.
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. This
memory is used exclusively by the operating environment. PROCLEAVE=
and SYSLEAVE= reserve SAS memory only.
Setting MEMLEAVE= to
0 is not recommended except for debugging and testing purposes. The
optimal setting depends on the application and the system resources
that are available at your site.
Note: To adjust the size of your
memory region, see the JCL documentation for your operating environment.