PhenixID

PSD1054 – Memory settings in AAM 3.7.1 and later

Fact

Automatic Account Manager 3.7.1 and later.

Situation

In earlier version of AAM (up until version 3.7.0) *.lax files was used for the JAVA memory parameters.
From version 3.7.1 of AAM files called *.vmoptions is used instead.
The files *.vmoptions can contain JAVA options, and this document will describe the ones used for JAVA heap size.
IMPORTANT! The vmoptions file must have the same name as the service. So if the name of the service file is changed, please change the vmoptions file name accordingly.
For example:
Service file name is changed from Provisioning Service to provisioning _service. Then change vmoptions name to provisoning_service.vmoptions.

Solution

Please make sure to have backup of the *.vmoptions files before editing.

A default value of 512MB is allocated at startup of the AAMService and AAMStudio.

To change the default values we can set the following parameters in *.vmoptions:
-Xms<size>, set initial Java heap size
-Xmx<size>, set maximum Java heap size

For example:
-Xms512M
-Xmx1G

So the above values will set the initial heap size to 512Mb, and the max to 1Gb for the service.

After the changes has been made, the service needs to be restarted.

 


DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se