Problem Note 16920: "FATAL: Insufficient memory to execute data step program" message when creating a large hash object
The following messages are written to the SAS® log when you run out
of memory when adding keys and associated data items to a hash object:
FATAL: Insufficient memory to execute data step program. Aborted
during the EXECUTION phase.
NOTE: The SAS System stopped processing this step because of
insufficient memory.
In some cases, these messages might be generated even though there is
still memory available. These types of failures can occur on machines
which have an XMRLMEM value which will overflow a 4-byte integer. This
causes an excessively large memory allocation request which results
in the inaccurate "out of memory" condition.
The code below illustrates how to obtain the value of XMRLMEM.
data _null_;
amt = getoption('xmrlmem');
put amt=;
run;
If the value of Amt is 2,147,483,647 or greater then you might be getting
the insufficient memory error incorrectly. This problem is fixed in SAS
9.1.3 Service Pack 4.
Also beginning with SP4, when the system option MSGLEVEL=I is
specified, a message is written to the SAS log reporting the number of
items added to the hash object when the memory shortage occurs.
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows XP Professional | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
Microsoft Windows NT Workstation | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Professional | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Server | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
z/OS | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
Linux | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
64-bit Enabled AIX | 9.1 TS1M0 | 9.1 TS1M3 SP4 |
*
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.
Type: | Problem Note |
Priority: | medium |
Topic: | SAS Reference ==> Component Objects
|
Date Modified: | 2010-08-06 12:45:10 |
Date Created: | 2006-01-23 11:11:49 |