Problem Note 42815: An error message that indicates insufficient memory might occur when you run aggregation jobs in SAS® IT Resource Management
When you run an aggregation job in SAS® IT Resource Management 3.2, you might receive the following error message, where nnnnnn is an actual counter that varies:
ERROR: Hash object added nnnnnn items when memory failure occurred. FATAL: Insufficient memory to execute DATA step program. Aborted during the EXECUTION phase.
This error is caused by insufficient system memory. To circumvent the error, you should increase the amount of memory that is available to the SAS® System that runs on your server tier.
To increase the amount of memory that is available to the SAS System, perform the following steps or observe the guidelines that are specified below for your operating system:
z/OS
- Increase the REGION size in the job card.
- For more information on how SAS manages memory in the z/OS environment, review the Optimizing Performance: Managing Memory section in the SAS(R) 9.2 Companion for z/OS.
UNIX - General Guidlines
- The amount of memory that a SAS job can consume is limited by the MEMSIZE system option. This option sets a limit to how large the SAS process can grow.
- To raise this limit, specify the MEMSIZE system option, either at SAS invocation, or in the sasv9.cfg file.
- The default MEMSIZE value for SAS®9 in the UNIX environment is 128 MB, but it is likely that some of your processes cannot run to completion using that value.
- Some procedures in SAS are very memory intensive. Hence, a more realistic MEMSIZE value for most processes is either 256 MB or 512 MB. Accordingly, you must increase the MEMSIZE value to ensure that such processes run to completion.
- Note that setting a value for MEMSIZE does not allocate or reserve memory for your process. Such memory must be available at the time your SAS process runs.
- If it is necessary to increase the value of MEMSIZE, you should increase the value in small increments (such as 8 MB at a time) until you find an optimal value. You should bear in mind that UNIX is usually a shared environment, and that memory is a shared resource.
- You should not set MEMSIZE to "0" or "MAX" on UNIX systems.
- If you are unable to circumvent the memory problem by adjusting the value of the MEMSIZE option, run the following UNIX ulimit command. Use the same user ID to verify that the system administrator has not restricted that your user limits:
Windows
Note: The default value for MEMSIZE is zero, which allows the operating system to use all the available memory.
- Check Installation Note 36553, "Documentation for installing SAS® 9.2 (TS2M3) in Windows 32-bit, x64, and 64-bit Itanium (IPF) operating environments," to verify the system requirements for your Windows environment.
- Ensure that you have available at least the minimum amount of memory that is required for your operating environment.
Operating System and Release Information
SAS System | SAS IT Resource Management-Server | z/OS | 3.2 | | 9.2 TS2M3 | |
*
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.
An error message that indicates insufficient memory might occur when you run aggregation jobs in SAS® IT Resource Management.
Type: | Problem Note |
Priority: | low |
Date Modified: | 2011-05-11 13:33:19 |
Date Created: | 2011-03-29 15:15:35 |