Problem Note 16198: OutOfMemoryException may occur in the Information Delivery Portal
The Remote Services application defaults to a 64M heap. If you run 200
users through the Information Delivery Portal and those users run Stored
Processes, Web reports, etc., the Remote Services application will get
an OutOfMemoryException. This occurs because each remote session context
consumes ~350K of memory.
Starting with SAS 9.1.3 SP3, install.properties variables and additional
JVM parameters have been added to control the Remote Services heap size.
The SAS Services application is used by the SAS Information Delivery
Portal to pass session and user context to content viewers, remote
portlets, and Web applications launched from the portal (for example,
SAS Web Report Viewer). This Java application allows the user to
seamlessly pass through to the target without the requirement for a
separate logon. By default, its JVM options are set to handle a
moderate number of concurrent users, in the neighborhood of 750 - 1000.
To support a larger number of concurrent users, the minimum and maximum
heap size of the SAS Services application, -Xms and -Xmx respectively,
will need to be increased. The application will need approximately 128
MB of additional memory for every additional 750 - 1000 users.
To increase the minimum and maximum heap size of the SAS Services
application, add the following properties to the end of the
install.properties file located in the PortalConfigure subdirectory of
the Portal's installation directory. For example, on a typical Windows
installation this directory would be:
C:\ProgramFiles\SAS\Web\Portal2.0.1\PortalConfigure
The values shown below will increase the minimum and maximum heap size
to 256 MB.
$SERVICES_REMOTE_JVM_INIT_HEAP$=256
$SERVICES_REMOTE_JVM_MAX_HEAP$=256
After updating the properties file, perform the following steps:
- Stop the Application server running the Portal Web application
and the SAS Services application.
- Run the configure_wik utility to update the SAS Services
application's memory configuration.
- Restart the SAS Services application.
- Restart the Application server.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Information Delivery Portal | Microsoft Windows 2000 Professional | 2.0 | 2.0 | 9.1 TS1M3 SP3 | 9.1 TS1M3 SP4 |
Microsoft Windows XP Professional | 2.0 | 2.0 | 9.1 TS1M3 SP3 | 9.1 TS1M3 SP4 |
Microsoft Windows NT Workstation | 2.0 | 2.0 | 9.1 TS1M3 SP3 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Server | 2.0 | 2.0 | 9.1 TS1M3 SP3 | 9.1 TS1M3 SP4 |
64-bit Enabled HP-UX | 2.0 | 2.0 | 9.1 TS1M3 SP3 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Datacenter Server | 2.0 | 2.0 | 9.1 TS1M3 SP3 | 9.1 TS1M3 SP4 |
64-bit Enabled Solaris | 2.0 | 2.0 | 9.1 TS1M3 SP3 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Advanced Server | 2.0 | 2.0 | 9.1 TS1M3 SP3 | 9.1 TS1M3 SP4 |
64-bit Enabled AIX | 2.0 | 2.0 | 9.1 TS1M3 SP3 | 9.1 TS1M3 SP4 |
*
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.
Type: | Problem Note |
Priority: | medium |
Topic: | System Administration ==> Servers ==> Portal
|
Date Modified: | 2006-04-26 08:55:59 |
Date Created: | 2005-09-21 10:24:14 |