Problem Note 67770: Creating a DATA step view that references an external file might result in a "Freeing Memory Not Allocated…" error
When you create a SAS® DATA step view to read an external file, an error that is similar to the following is written to the log:
ERROR: Freeing Memory Not Allocated Pool [000002294090FB00] Value [0000022941075740] WM Reb Pool:HOST
The view is created, but it is not correct and it fails to read the external file if used.
The sample code below illustrates this behavior:
data work.TESTV / view = work.TESTV ;
infile "C:\Temp\data.txt" delimiter = ',' DSD firstobs = 2 termstr = "|";
input name age height weight sex;
run;
The external data.txt file that is referenced in the code contains this data:
name,age,height, weight,sex
fred,10,100,100,m
john,20,100,200,m
The only workaround for this issue is not to use a view to read the external file.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
z/OS 64-bit | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft® Windows® for x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows 8 Enterprise x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows 8 Pro x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows 8.1 Pro x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows 10 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows Server 2008 R2 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows Server 2008 for x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows Server 2012 Datacenter | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows Server 2012 R2 Std | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Microsoft Windows Server 2012 Std | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Windows 7 Enterprise x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Windows 7 Professional x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
64-bit Enabled AIX | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
64-bit Enabled Solaris | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
HP-UX IPF | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Linux for x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
Solaris for x64 | 9.4 | 9.4_M8 | 9.4 TS1M0 | 9.4 TS1M8 |
*
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: | high |
Date Modified: | 2021-04-15 15:38:26 |
Date Created: | 2021-04-13 01:13:13 |