Previous Page | Next Page

SAS System Options under Windows

MEMCACHE System Option: Windows



Specifies to use the memory-based libraries as a SAS file cache.
Default: 0
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES
Windows specifics: all

Syntax
Details
See Also

Syntax

-MEMCACHE 0 | 1 | 4
MEMCACHE= 0 | 1 | 4

0

specifies memory cache is off.

1

specifies not to add any new files to the cache. Reads and writes to files already in the cache continue as if MEMCACHE is on.

4

specifies memory cache is on. Memory is used as a SAS file cache.


Details

When the MEMCACHE system option is 4 or 1, SAS file cache places data in memory as it is processed. This data is then available for future references by SAS. Files in the cache are kept until SAS is shut down, caching is terminated, or more space is required for new files. Memory is reclaimed on a least recently used basis. Cached data is written to permanent storage. You can control which SAS libraries use the cache by using the MEMCACHE system option in the OPTIONS statement. Memory usage can be monitored using the performance tools.


See Also

Previous Page | Next Page | Top of Page