ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to increase HEAP size when activating AWI via the Jetty Launcher?

book

Article ID: 236943

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

How to increase HEAP size when activating AWI via the Jetty Launcher?

Environment

V21

Resolution

You can add the '-Xmx' to the start command for the AWI. For example, say this is the start command you are using:

C:\Program Files\Java\jre1.8.0_311\bin\java -jar aa-webui-launcher.jar

You can add this to the command to increase the heap space:

C:\Program Files\Java\jre1.8.0_311\bin\java -jar -Xmx2048M aa-webui-launcher.jar

This is then reflected in the log file with the following message:

 [com.uc4.webui.logback.osgi.EnvironmentLogger] - Runtime information Maximum Memory                            = 1908MB