Previous Page | Next Page

SAS System Options under Windows

MEMMAXSZ System Option: Windows

Specifies the maximum amount of memory to allocate for using memory-based libraries in Windows operating environments.
Default: 2G
Valid in: configuration file, SAS invocation
Category: System administration: Memory
Windows specifics: all

See Also


-MEMMAXSZ n | nK | nM |nG | nT | hexX

n | nK | nM | nG | nT

specifies the amount of memory to allocate in multiples of 1; 1,024 (kilobytes); 1,048,576 (megabytes); 1,073,741,824 (gigabytes); and 1,099,511,627,776 (terabytes), respectively. You can specify decimal values for the number of kilobytes, megabytes, gigabytes, or terabytes. For example, a value of 8 specifies 8 bytes, a value of .782k specifies 801 bytes, and a value of 3m specifies 3,145,728 bytes.


specifies the amount of memory to allocate as a hexadecimal value. You must specify the value beginning with a number (0-9), followed by an X. For example, the value 2dx sets the amount of memory to 45 bytes.


The MEMMAXSZ system option specifies the total amount of memory that SAS can use for memory-based libraries. You can monitor the memory by using the performance tools.

Specifying a value that is too large can adversely affect overall system performance.

Try different values for the MEMMAXSZ option to determine the value that gives the best system performance.  [cautionend]

See Also

Previous Page | Next Page | Top of Page