Problem Note 41661: "Segmentation Violation In Task [ RANK ]" might be received when ranking a large data set with PROC RANK
The following error messages might be generated when processing a very large number of observations and ranking a large number of variables with PROC RANK:
Segmentation Violation In Task [ RANK ]
NOTE: A utility file had to be opened due to a lack of memory.
PROC RANK might run much faster if 11547773952 more bytes of memory were
available.
This problem can occur when PROC RANK is run with 64-bit releases of SASĀ® software in UNIX operating environments and uses more than 2 GB of memory. If there is not enough memory to process the rankings, a utility file will be created, at which point you might encounter the Segmentaion Violation. It is also possible for data corruption to occur during this process. This problem can occur because PROC RANK must load all of the values of the variables being ranked into memory.
To circumvent the problem, limit the memory used by PROC RANK to 2 GB by using either the REALMEMSIZE= or the MEMSIZE= option.
Operating System and Release Information
SAS System | Base SAS | 64-bit Enabled AIX | 9.21_M2 | 9.3 | 9.2 TS2M2 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.21_M2 | 9.3 | 9.2 TS2M2 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.21_M2 | 9.3 | 9.2 TS2M2 | 9.3 TS1M0 |
Linux for x64 | 9.21_M2 | 9.3 | 9.2 TS2M2 | 9.3 TS1M0 |
Solaris for x64 | 9.21_M2 | 9.3 | 9.2 TS2M2 | 9.3 TS1M0 |
*
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.
A "Segmentation Violation" error might be generated when processing a very large number of observations and ranking a large number of variables with PROC RANK.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2011-01-04 14:42:12 |
Date Created: | 2010-11-22 13:45:26 |