Starting Arctools or a custom AML application causes the following error:
"Invalid LUN (KLOC)"
There is not enough swap space (virtual memory) allocated on the system.
The AML processor has built in file caching capabilities. The file cache is an area of reserved memory where AML can quickly access AML and MENU files, especially if they are called repeatedly. Before executing an AML or MENU file, the AML processor loads it into the cache. LUN stands for 'Logical Unit Number', and is a pointer the AML processor uses to access certain lines of certain files in the cache. If a large application with many AML and MENU files are running and there is a limited amount of swap space available, the AML processor may try to load more files into the AML cache than it can hold. The AML processor may then attempt to access a file that it expects is present in the cache. If the LUN has a value greater than the number of files in the cache and is trying to access a file that doesn't exist, and execution is halted. The FORTRAN subroutine 'KLOC' is responsible for locating line numbers in a cached file. KLOC stands for 'cache-locate'.