The Question is:
We are receiving the following error when attempting to do sort commands with
small files under 10,000 blocks. We have an AlphaServer with 1GB of system
memory. We have gotten this before on similar systems but were able to rectify
it by setting the pgflquo higher. We have now set this to 8,000,000, double
our other sites and we ar
e still getting this error.
%SORT-W-SYSERROR, system service error
-LIB-F-INSVIRMEM, insufficient virtual memory
Thanks for any help.
The Answer is :
INSVIRMEM Insufficient Virtual Memory errors typically involve the
PGFLQUOTA pagefile quota, as discussed in the OpenVMS FAQ. With
SORT, the error can also arise when the process current WSEXTENT
is larger than the PGFLQUOTA. (The general recommendation is to
size WSEXTENT to requirements, and increase PGFLQUOTA to match.)
Also consider performing a CONVERT of the file, and please then also
consider contacting the support center as details of the file's
structure and the LRL longest record length, and the SORT command
used will be of interest, as will details of the process quotas
and system parameter settings.
Some file organizations combined with large LRL values can
require large amounts of virtual memory -- the allocation
involves the number of records and the LRL. (Some files and
some file organizations can have LRL values set to 32 kilobytes,
and can obviously lead to large virtual memory requirements for
If the files have large LRL values and were created using C,
please review the LRL controls that are available with recent
compilers and particularly with recent C run-time libraries.