SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 41661: "Segmentation Violation In Task [ RANK ]" might be received when ranking a large data set with PROC RANK

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SAS64-bit Enabled AIX9.21_M29.39.2 TS2M29.3 TS1M0
64-bit Enabled HP-UX9.21_M29.39.2 TS2M29.3 TS1M0
64-bit Enabled Solaris9.21_M29.39.2 TS2M29.3 TS1M0
Linux for x649.21_M29.39.2 TS2M29.3 TS1M0
Solaris for x649.21_M29.39.2 TS2M29.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.