Chapter Contents

Previous

Next
MAXMEMQUERY

MAXMEMQUERY



Specifies the limit on the maximum amount of memory that is allocated for certain procedures

Default: 6M (set in the installed !SASROOT/sasv8.cfg file)
Valid in: SAS invocation, SASV8_OPTIONS environment variable, configuration file, OPTIONS statement
UNIX specifics: all


Syntax
Details

Syntax

-MAXMEMQUERY n|nK|nM|nG|MIN|MAX|hexX

n|nK|nM|nG
specifies the limit in multiples of 1; 1,024 (kilobytes); 1,048,576; and 1,073,741,824 (gigabytes), respectively. For example, a value of 8 specifies 8 bytes and a value of 3M specify 3,145,728 bytes.

MIN
specifies 0 bytes, which indicates that there is no limit on the total amount of memory that can be used by each procedure.

MAX
specifies a limit of 2,147,483,647 bytes. On 64-bit systems, MAX is 9,007,199,254,740,992.

hexX
specifies the limit in hexadecimal notation. For example, 2DX specifies 45 bytes.


Details

Some SAS procedures attempt to allocate all of the memory that they can, up to the amount specified by the MEMSIZE option. If this amount of memory is not available, SAS attempts to use paging. If the amount of page space is less than the value of MEMSIZE, SAS generates an error message. The MAXMEMQUERY option specifies the maximum amount of memory that SAS can request at one time. If your system has small system paging devices, you may want to lower the value of MAXMEMQUERY.


Chapter Contents

Previous

Next

Top of Page

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