SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62515: Memory exhaustion and high CPU usage might occur when you set the PAGESIZE system option to a high value in SAS® 9.4M5 (TS1M5)

DetailsHotfixAboutRate It

In SAS 9.4 TS1M5, when you specify a high value for the PAGESIZE= SAS system option, you might encounter the following issues:

  • The available memory is exhausted.
  • Excessive CPU time is used.
  • The output might be incomplete even though the job completes with RC=0.  

When you run a PRINT procedure step that uses PAGESIZE=MAX and does not define sufficient REGION (REGION=64M is defined in this example), you might see messages similar to the following:

NOTE:  Cleanup disabled for task PRINT since $RTHIEF=0                  
NOTE: There were 860977 observations read from the data set WORK.SEARCH.
NOTE: The PROCEDURE PRINT printed page 1.                               
NOTE: The PROCEDURE PRINT used 4.38 CPU seconds and 55145K.    

When you run a PROC PRINT step with the same conditions as above except that you set REGION=256M, you might see the following messages:

NOTE: There were 860977 observations read from the data set WORK.SEARCH.
NOTE: The PROCEDURE PRINT printed pages 1-53.                           
NOTE: The PROCEDURE PRINT used 148.85 CPU seconds and 167251K.          

When all the memory has been exhausted, you might encounter other symptoms not related to PAGESIZE, such as the following error:

ERROR: Unable to allocate sufficient memory. At least 3K bytes were requested, but only 0K were available. You must either increase the amount of memory available, or approach the problem differently.

There are two possible circumventions:

  • Increase the REGION= setting for the job.
  • Reduce the size specified for the PAGESIZE= SAS system option.     

Two hot fixes must be installed for the fix to be complete. If both hot fixes are not installed, you might get an abnormal termination. Under z/OS, this issue might surface the following error:

ERROR: System abend 0C4 occurred in module SASODS function append_recs at offset 0001B4.

Note: The offset might vary.

For this issue, ensure that you install both hot fixes. When you click the link for the hot fix download on the Hot Fix tab, the downloads page contains a note that states that you must also install an additional hot fix.  

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemN/AMicrosoft Windows 8.1 Enterprise x649.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M5
Microsoft Windows 8 Pro 32-bit9.4 TS1M5
Microsoft Windows 8 Pro x649.4 TS1M5
Microsoft Windows 8 Enterprise x649.4 TS1M5
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M5
z/OS 64-bit9.4 TS1M5
Microsoft® Windows® for x649.4 TS1M5
z/OS9.4 TS1M5
Microsoft Windows 8.1 Pro x649.4 TS1M5
Microsoft Windows 109.4 TS1M5
Microsoft Windows Server 20089.4 TS1M5
Microsoft Windows Server 2008 R29.4 TS1M5
Microsoft Windows Server 2008 for x649.4 TS1M5
Microsoft Windows Server 2012 Datacenter9.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M5
Microsoft Windows Server 2012 R2 Std9.4 TS1M5
Microsoft Windows Server 2012 Std9.4 TS1M5
Microsoft Windows Server 20169.4 TS1M5
Windows 7 Enterprise 32 bit9.4 TS1M5
Windows 7 Enterprise x649.4 TS1M5
Windows 7 Home Premium 32 bit9.4 TS1M5
Windows 7 Home Premium x649.4 TS1M5
Windows 7 Professional 32 bit9.4 TS1M5
Windows 7 Professional x649.4 TS1M5
Windows 7 Ultimate 32 bit9.4 TS1M5
Windows 7 Ultimate x649.4 TS1M5
64-bit Enabled AIX9.4 TS1M5
64-bit Enabled Solaris9.4 TS1M5
HP-UX IPF9.4 TS1M5
Linux for x649.4 TS1M5
Solaris for x649.4 TS1M5
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.