HCL Workload Automation, Version 9.4

Increasing application server heap size

Follow this procedure to increase the Java™ heap size:
  1. Log on to the computer where HCL Workload Automation is installed as the following user:
    Windows operating systems:
    Any user in the Administrators group.
    UNIX operating systems:
    root
  2. Stop the WebSphere Application Server either by using the conman stopappserver command (see Starting and stopping the application server and appservman) or by running:
    Windows operating systems:
    TWA_home\wastools\stopWas.bat
    UNIX operating systems:
    TWA_home/wastools/stopWas.sh
  3. Open the following file:
    <WAS_profile_path>/config/cells/
    TWSNodeCell/nodes/TWSNode/servers/server1/server.xml
    where the default value for WAS_profile_path is <TWA_home>/WAS/TWSprofile.
    Locate the following lines:
    <jvmEntries xmi:id="...." 
    verboseModeClass="false" 
    verboseModeGarbageCollection="false" 
    verboseModeJNI="false" 
    initialHeapSize="256" 
    maximumHeapSize="1024" 
    runHProf="false" 
    hprofArguments="" 
    debugMode="false" 
    debugArgs="...."/>
    </jvmEntries>
  4. Edit the initialHeapSize and maximumHeapSize fields to at least the values shown in Table 1.
    Table 1. Heap size settings for jvm 64 bits
    RAM (GB) initialHeapSize (MB) maximumHeapSize (MB)
    2 512 1024
    4 1024 2048
    8 2048 4096
    Note: Ensure that the computer RAM usage can handle whatever increased size you choose. If you have a jvm 32 bits on your machine, the maximum value for maximumHeapSize is 1536 MB.
  5. Save the file server.xml
  6. Start the WebSphere Application Server, either by using the conman startappserver command (see Starting and stopping the application server and appservman) or by running
    Windows operating systems:
    <TWA_home>\wastools\startWas.bat
    UNIX operating systems:
    <TWA_home>/wastools/startWas.sh