Dynamic Workload Console - Increasing application server heap size
Follow this procedure to increase the Java™ heap
size:
- Log on to the computer where Dynamic Workload Console
is installed as the following user:
- Windows™ operating systems:
- Any user in the Administrators group.
- UNIX™ operating systems:
- root
- Stop the WebSphere Application Server Liberty Base by
running:
- Windows™ operating systems:
- DWC_home\appservertools\stopAppServer.bat
- UNIX™ operating systems:
- DWC_home/appservertools/stopAppServer.sh
- Open the following file:
- Windows operating systems:
- DWC_DATA_dir\usr\servers\dwcServer\configDropins\overrides\jvm.options
- UNIX operating systems:
- DWC_DATA_dir/usr/servers/dwcServer/configDropins/overrides/jvm.options
- Here is an
example:
-Xms4096m -Xmx4096m -Xgcpolicy:gencon #nursery mem size -Xmn1024m
Note: In case of high workload (more than 50 concurrent users) 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. - Save the file
jvm.option
- Start the WebSphere Application Server Liberty Base, by
running
- Windows operating systems:
- DWC_home\appservertools\startAppServer.bat
- UNIX operating systems:
- DWC_home/appservertools/startAppServer.sh