Change Max RAM in AAI without config tool?
search cancel

Change Max RAM in AAI without config tool?

book

Article ID: 427092

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

Our Webswing for the AAI Configuration Tool can not currently be accessed.
We need to increase the max memory for AAI without using the tool.
Can this be done without the Webswing for the AAI Configuration Tool?

Environment

Automation Analytics & Intelligence (AAI) 24.X

Cause

environmental issues

Resolution

When you update the Max memory in the config tool, it saves the file to the following 

On Linux

  • Saved updated VM options file: <AAI Install Location>/jaws.sh.vmoptions

Example file
[<User>@<HostName> Automation_Analytics_Intelligence]$ cat jaws.sh.vmoptions
-Xms1024m
-Xmx4097m
-Djava.awt.headless=true
#-Xloggc:./gc.log
#-XX:+PrintGCDetails
#-XX:+PrintGCDateStamps
-XX:+UseG1GC
-XX:+UnlockExperimentalVMOptions
-XX:G1ReservePercent=40
-XX:G1MaxNewSizePercent=10
-XX:G1OldCSetRegionThresholdPercent=20
-Djboss.endorsed.dirs=lib/endorsed
-Dorg.jboss.weld.construction.relaxed=true
-Dlog4j2.loggerContextFactory=org.apache.logging.log4j.core.impl.Log4jContextFactory
#-XX:+PrintGCDetails
#-XX:+PrintGCDateStamps
# Uncomment the following option if run into stack overflow issue
#-Xss6m
# Turn off Garbage collection logging, which is on by default for the current Java
-Xlog:gc=off

On Windows

  • Saved updated VM options file: <AAI Install Location>\Automation Analytics & Intelligence (application).exe.vmoptions
  • Saved updated VM options file: <AAI Install Location>\daemon\Automation Analytics & Intelligence (service).exe.vmoptions

Note: The file formats is the same a Linuyx

You will need to stop and start the AAI services to have it take effect.