Previous Topic: Resize the Memory CacheNext Topic: (WebSphere) Resize the Java Virtual Machine Memory Heap


(JBoss) Resize the Java Virtual Machine Memory Heap

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

Follow these steps:

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

    Defines the minimum size of heap memory. For example, -Xms1200m sets minimum heap memory to 1.2GB. This memory is assigned at server start.

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

    -Xmx

    Defines the maximum size of heap memory. For example, -Xmx20g sets maximum heap memory to 20GB. This memory is assigned as needed.

    We recommend, for a 64bit system, that you allocate approximately 3GB of cache memory (RAM) for every 1,000,000 elements allowed in cache memory (3 * maxElementsInMemory).

  4. Repeat this procedure on each server in the cluster.
  5. Save and close the run.bat file.

    The Java virtual machine memory heap has been resized.