Usage Note 32041: Handling memory errors from PROC OLAP submissions
If a memory-related error is returned during the execution of PROC OLAP, you should first determine whether an appropriate amount of memory has been allocated to the SAS process that is executing the step. If you are building your cube from within SAS® OLAP Cube Studio, then you are using one of the workspace server instances defined to your SAS BI environment. To increase the memory for this server, modify your SAS command line, which is specified in the Options tab of your workspace server within SAS® Management Console:
- Expand Server Manager and then navigate down to your logical workspace server.
- Right-click on the logical workspace server name and select Properties.
- Select the Options tab and then specify the necessary memory options, which are -MEMSIZE, -REALMEMSIZE and -SUMSIZE.
- It may be necessary to restart your SAS Object Spawner in order to create new workspace server sessions with these settings.
- -MEMSIZE describes how much memory the SAS process can acquire during its execution. This includes both the physical RAM as well as any virtual memory available on the machine.
- -REALMEMSIZE and -SUMSIZE should be used to limit how much physical RAM is used by the process. This is especially important on 32-bit machines when the -MEMSIZE option is set to 2 gigabytes. In those cases, -REALMEMSIZE and -SUMSIZE should not be set higher than 1.3 gigabytes in order to restrain the process from trying to acquire more memory than it can successfully read.
For more details on memory option settings for your operating system, see the
SAS OnlineDoc. SAS Technical Support can not make specific recommendations on these settings as the scenario in which you are working may be unique. Generally incrementing the memory by powers of 2 is recommended (128, 256, 512, etc).
Here are examples of the possible error messages:
Critical memory shortage occurred while extending a crossing table
No memory can be allocated
The requested function cannot be performed. Memory is exhausted.
Operating System and Release Information
SAS System | SAS OLAP Server | Tru64 UNIX | 9.1 TS1M0 | |
OpenVMS Alpha | 9.1 TS1M0 | |
Linux | 9.1 TS1M0 | |
HP-UX IPF | 9.1 TS1M0 | |
64-bit Enabled Solaris | 9.1 TS1M0 | |
64-bit Enabled HP-UX | 9.1 TS1M0 | |
64-bit Enabled AIX | 9.1 TS1M0 | |
Microsoft Windows XP Professional | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | |
Microsoft Windows NT Workstation | 9.1 TS1M0 | |
Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
Microsoft Windows 2000 Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | |
z/OS | 9.1 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.
Date Modified: | 2008-05-16 09:19:24 |
Date Created: | 2008-05-08 11:35:35 |