SAS Support Site Home | Samples and SAS Notes Home
SAS Notes V6-SYS.SYS-7110
Out of Memory message when running SAS 6.07 under UNIX


Some users may experience an "Out of Memory" message when running large SAS jobs or Statistical procedures. This is caused by the SAS memsize option being set too low for the SAS procedure. To increase the memsize option in SAS 6.07, you must specify a larger memsize value in the config.sas or SAS command line. For example:

         sas -memsize 64M mypgm.sas    /* on invocation of SAS */
             -memsize 64M              /* in the config.sas file */

If you set the memsize to 0, SAS will take the memsize and round the value to 4meg, the actual size necessary to start SAS. In SAS 6.09, the value of 0 for memsize will allow SAS to get as much memory as the system will allow. To get this same affect in SAS 6.07, you may comment out the -memsize line in the config.sas file. For example,

         /*-memsize 16m */

would eliminate the memory ceiling for SAS.


Products: BASE
Component: SYS.SYS
Priority: N/A
Status: Usage Issue
Date: Thu, 22 Jul 1993

System Release Reported Release Fixed
HP - Apollo 6.07 TS101  
AIX/6000 6.07 TS101 6.09  
Data General Aviion 6.07 TS101  
HP-UX Operating Systems 6.07 TS101  
Silicon Graphics Unix 6.07 TS101  
DEC Ultrix 6.07 TS101 6.09  
BULL 6.07 TS201  
HP-UX Operating Systems 6.07 TS201 6.09  
NeXT 6.07 TS201  
Silicon Graphics - IRIX 6.07 TS201  
SunOS 3.0 6.07 TS201  
SunOS 4.0 6.07 TS201 6.09  

No Fixes Available