Loading a table into a non-distributed version of the SAS® LASR™ Analytic Server might fail with an "insufficient memory" error


Overview

When you attempt to load a table into a non-distributed version of the SAS LASR Analytic Server, you might see the following errors:

ERROR: Insufficient resources to perform the operation.
ERROR: The SAS System stopped processing this step because of insufficient memory.a

In the non-distributed version, each SAS LASR Analytic server is a single workspace server process. If you are seeing this error, then you likely do not have enough memory available for use by the SAS® process. The default application server is SASApp, which is configured to use the maximum available memory. If you are using SASApp, then you need to verify that the memory settings are still correct, and modify them if necessary. If you created an additional application server for use by SAS Visual Analytics, then the memory settings for that new server might not be sufficient.

Note: If you have 10 or more SAS LASR Analytic Servers, see SAS Note 55474 for information about the number of workspace server processes that can run simultaneously.

Verifying or modifying memory settings

To verify or modify memory settings, follow these steps:

  1. Navigate to the following location:

​​​​​​​​​​​​​​​​​​​​​<sas-config-dir>\Lev1\ApplicationServerName\WorkspaceServer

For example, if your application server is named SASAppVA, then navigate to this location:

<sas-config-dir>\Lev1\SASAppVA\WorkspaceServer

2. Locate WorkspaceServer_usermods.sh (UNIX) or WorkspaceServer_usermods.bat (Windows).

3. Make a backup copy of the existing file.

4. Open the active copy in a plain text editor, and modify the file to contain the following settings for your operating system:

UNIXUSERMODS_OPTIONS="-memsize 0 -cpucount ACTUAL"

WindowsSet USERMODS_OPTIONS=-memsize 0 -cpucount ACTUAL

5. To enforce the changes, restart your SAS LASR Analytic Server.

If the maximum amount of memory is already available, or if increasing the limit does not resolve the issue, then you might need to increase your physical memory.