Problem Note 37405: "An error occurred during the execution of this code" running TMFILTER macro
In SAS® Text Miner, running the TMFILTER macro against a very large document collection might return the following error:
An error occurred during the execution of this code
The log might contain the following error messages:
ERROR: File is in use, C:\DOCUME~1\sasdemo\LOCALS~1\Temp\SAS
Temporary Files\_TD12696\filterLog.txt.
ERROR: The filtering terminated prematurely.
The filterlog.txt file contains this information:
**** BEGIN XFILTER LOG ****
LOG FILE:
C:\DOCUME~1\sasdemo\LOCALS~1\Temp\SAS Temporary Files\_TD12696\filterLog.txt
COMMON FILTERING SYSTEM:
C:\Program Files\SAS_92\SASFoundation\9.2\tmine\sasmisc
DATASET:
C:\DOCUME~1\sasdemo\LOCALS~1\Temp\SAS Temporary Files\_TD12696\data.txt
HOST:
localhost
NUMBER OF BYTES: 60
LANGUAGE: english
DIRECTORY: c:\test
PORT: 0
TIME: 100000000
LANG DIRECTORY: C:\Program Files\SAS_92\SASFoundation\9.2\tmine\sasmisc
MAXIMUM SIZE: 504557600
ENCODING: cp_1252
OPTIONS FILE: C:\DOCUME~1\sasdemo\LOCALS~1\Temp\SAS Temporary Files\_TD12696\_cfsoptions.txt
Destination DIRECTORY: c:\test_dir
Finished parsing input options.
Text Miner 4.1
Starting cfs.exe server at port 2530 with optionfile
"C:\DOCUME~1\sasdemo\LOCALS~1\Temp\SAS Temporary Files\_TD12696\_cfsoptions.txt".
cfs.exe has started!
Processing
Successfully opened text file for writing.:
C:\DOCUME~1\sasdemo\LOCALS~1\Temp\SAS Temporary Files\_TD12696\data.txt
Beginning to filter documents
Unknown problem.
**** END XFILTER LOG ****
The problem occurs because there is a memory leak in the xfilter.exe file which is used when running of the TMFILTER macro.
A possible workaround is to subset the document collection, run multiple TMFILTER macros, and then combine the outputted SAS data sets into one large data set that can be read into SAS Text Miner.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
| SAS System | SAS Text Miner | Microsoft® Windows® for x64 | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
| Microsoft Windows Server 2003 Datacenter Edition | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
| Microsoft Windows Server 2003 Enterprise Edition | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
| Microsoft Windows Server 2003 Standard Edition | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
| Microsoft Windows XP Professional | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
| Windows Vista | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
| 64-bit Enabled AIX | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
| 64-bit Enabled Solaris | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
| HP-UX IPF | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
| Linux for x64 | 4.1 | 4.2 | 9.2 TS2M0 | 9.2 TS2M2 |
*
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 |
| Topic: | Analytics ==> Data Mining Analytics ==> Text Mining
|
| Date Modified: | 2009-11-23 12:51:21 |
| Date Created: | 2009-10-08 17:06:50 |