Chapter Contents |
Previous |
Next |
MEMSIZE= |
Default: | 0 |
Valid in: | configuration file, SAS invocation, OPTIONS statement, OPTIONS window |
CMS specifics: | all |
Syntax | |
Details | |
See Also |
Syntax |
MEMSIZE=MIN | MAX | n | nK | nM | nG | hexX |
Details |
By default, the MEMSIZE= option has a value of 0 bytes, which means that SAS allocates memory up to the maximum amount available. Once SAS programs are loaded into memory, they are not deleted until that memory is needed for another purpose. This behavior allows multiple processes and consecutive procedure invocations within each process without requiring the program to be reloaded each time. However, if there is no upper limit on virtual memory usage, memory is not freed for reuse even when programs that are stored there are no longer needed. Explicitly specifying a MEMSIZE limit reduces this problem. MEMSIZE=8M has proven to be a reasonable value in most batch applications. Interactive applications that use multiple SAS components such as SAS/AF software and SAS/GRAPH software should set MEMSIZE=16M.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.