Previous Topic: How to Resize the Memory Cache

Next Topic: Resize the Java Virtual Machine Memory Heap in a WebSphere/AIX Environment


Resize the Java Virtual Machine Memory Heap in a JBoss/Windows and JBoss/Linux Environment

To support large CA GovernanceMinder configurations, you can expand the Java Virtual Machine (JVM) memory cache for CA GovernanceMinder server.

Follow these steps:

  1. Browse to one of the following folders on the CA GovernanceMinder server:
  2. Open the run.bat file for editing, and locate the following line:
    set JAVA_OPTS=%JAVA_OPTS% -Xms728m -Xmx1536m -XX:MaxPermSize=256m
    
  3. Change the following parameters to define JVM memory heap settings:
    -Xms

    Defines the minimum size of heap memory. For example, -Xms1200m sets minimum heap memory to 1.2 GB.

    -Xmx

    Defines the maximum size of heap memory. For example, -Xmx20g sets maximum heap memory to 20 GB.

    Note: When using a 64bit JDK, and the available memory is greater than 1400M, set the -Xmx parameter to use available memory.

  4. In a clustered JBoss implementation, repeat this procedure on each server in the CA GovernanceMinder cluster.
  5. Save and close the run.bat file.

    The Java Virtual Machine memory heap has been resized in a JBoss/Windows and JBoss/Linux Environment.