![]() | ![]() | ![]() |
When you perform memory-intensive tasks (such as manipulating large amounts of data or cubes or executing complex queries) within SAS® Web applications, you might receive a java.lang.outofmemory exception error in the application-server log. As a result, you cannot perform any other tasks within the Web applications, and you will need to restart the application server.
Restarting the application server might enable you to use the Web applications again, but the exception error can re-occur. If that happens, you must address the problem directly, as follows, to resolve the error:
If you still encounter a java.lang.outofmemory exception after you perform these actions, turn on the Java garbage collection logging, as follows:
If you are using the Sun JDK, add the following options to your JVM arguments:
In the last option, replace your directory with the directory on your machine to which you want to write the gcLogFile.txt file.
If you use the IBM JDK, you are most likely using it with IBM WebSphere software. To enable the GC logging facility using the IBM Software Development Kit (SDK) in WebSphere versions 5.1, 5.0, and 6.x follow these steps:
These steps in administrative console add the –verbose:gc option to
the JVM, and the verbose garbage collection output is written to the
native_stderr.log file. The IBM JVM provides extensive memory tracing when –verbose:gc is set.
If you use the IBM JDK, and you use either Apache Tomcat or Oracle WebLogic, add the following two parameters to your JVM arguments:
In this second option, replace your directory with the name of the directory on your machine to which you want to write the gcLogFile.txt file.
Then send the following information to SAS Technical Support for help in troubleshooting the java.lang.outofmemory exception further:
| Product Family | Product | System | SAS Release | |
| Reported | Fixed* | |||
| SAS System | SAS Information Delivery Portal | Microsoft Windows Server 2003 Datacenter 64-bit Edition | ||
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | ||||
| Microsoft Windows XP 64-bit Edition | ||||
| Microsoft® Windows® for x64 | ||||
| Microsoft Windows 2000 Advanced Server | ||||
| Microsoft Windows 2000 Datacenter Server | ||||
| Microsoft Windows 2000 Server | ||||
| Microsoft Windows 2000 Professional | ||||
| Microsoft Windows Server 2003 Datacenter Edition | ||||
| Microsoft Windows Server 2003 Enterprise Edition | ||||
| Microsoft Windows Server 2003 Standard Edition | ||||
| Microsoft Windows Server 2008 | ||||
| Microsoft Windows XP Professional | ||||
| 64-bit Enabled AIX | ||||
| 64-bit Enabled Solaris | ||||
| HP-UX IPF | ||||
| Linux for x64 | ||||
| Solaris for x64 | ||||
| Type: | Usage Note |
| Priority: |
| Date Modified: | 2009-10-21 15:31:50 |
| Date Created: | 2009-10-14 13:10:34 |


