Sun Java System Communications Services 6 2005Q4 Delegated Administrator Guide

Increase JVM Heap Size

To improve the performance of common Delegated Administrator functions such as displaying pages and performing searches, you can increase the Java Virtual Machine (JVM) heap size used by the Web container to which Delegated Administrator is deployed. When the Web container's JVM heap size is too small, performance can be affected.

The JVM heap size is set by the following JVM option:


-Xmx<n>m

where <n> is the heap size in megabytes.

Typically, <n> is set to 256m.

The following tasks outline how to set a higher JVM heap size for Web Server and Application Server.

ProcedureTo increase the Web Server JVM heap size

Steps
  1. Log in to the Web Server Administration Server.

  2. Under the Java tab, select JVM Options.

  3. Edit the -Xmx256m option.

    This option sets the JVM heap size.

  4. Set the -Xmx256m option to a higher value, such as Xmx1024m.

  5. Save the new setting.

Web Server Documentation

See the Sun Java System Web Server Administration Guide and Web Server Performance Tuning, Sizing, and Scaling Guide for more information about using the Web Server Administration Server and setting JVM options.

ProcedureTo increase the Application Server JVM heap size

Steps
  1. Log in to the Application Server Administration Server.

  2. Navigate to the JVM options.

  3. Edit the -Xmx256m option.

    This option sets the JVM heap size.

  4. Set the -Xmx256m option to a higher value, such as Xmx1024m.

  5. Save the new setting.

Application Server Documentation

For more information about using the Application Server Administration Server and setting JVM options, go to the Sun Java System Application Server Documentation Center and select “JVM Advanced Settings.” Alternatively, see “Tuning the Java Runtime System” in the Sun Java System Application Server Enterprise Edition 8.1 2005Q4 Performance Tuning Guide