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:
    On Windows operating systems:
    Any user in the Administrators group.
    On UNIX operating systems:
    root
  2. Stop the WebSphere Application Server Liberty either by using the conman stopappserver command (see Starting and stopping the application server and appservman) or by running:
    On Windows operating systems:
    <TWA_home>\server_wauser\appservertools\stopAppServer.bat
    On UNIX operating systems:
    <TWA_home>/server_wauser/appservertools/stopAppServer.sh
  3. Open the following file:
    On Windows operating systems:
    <TWA_home>\server_wauser\usr\servers\engineServer\configDropins\overrides\jvm.options
    On UNIX operating systems:
    <TWA_DATA_DIR>/server_wauser/usr/servers/engineServer/configDropins/overrides/jvm.options
  4. Edit it as follows:
    -Xms4096m
    -Xmx4096m
    -Xgcpolicy:gencon
    #nursery mem size
    -Xmn1024m 
    
    Note: In case of high workload (more than 200000 jobs/day) use 6144 as heap size and 1536 as nursery mem size. The above suggested settings must be applied when the RAM configuration value twice the value of the heap size.
  5. Save the file jvm.option
  6. Start the WebSphere Application Server Liberty, either by using the conman startappserver command (see Starting and stopping the application server and appservman) or by running
    Windows operating systems:
    <TWA_home>\server_wauser\appservertools\stopAppServer.bat
    UNIX operating systems:
    <TWA_home>/server_wauser/appservertools/stopAppServer.sh