If required, you can adjust the maximum amount of memory that can be allotted to both anyLogistix desktop and anyLogistix Professional Server editions.
To change the maximum amount of memory anyLogistix desktop edition can occupy
- Open the anyLogistix 3.cfg file in any editor. The default location of the file is C:\Users\Username\AppData\Local\anyLogistix 3\app\.
-
Replace the numerical value in the following line with the required value:
java-options=-XX:MaxRAMPercentage=80.0By default, the value is set to 80, which means that the maximum memory used by the JVM is 80% of the available memory on you computer. Alternatively, you can specify an absolute value, for example: java-options=-Xmx25G.
To change the maximum amount of memory anyLogistix Professional Server can occupy
- Open the docker-compose.yml file in any editor.
-
Add the JAVA_TOOL_OPTIONS variable:
services: backend: # ... environment: <<: *common-variables JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=80.0" # ...By default, the value is set to 80, which means that the maximum memory used by the JVM is 80% of the available memory on you computer. Alternatively, you can specify an absolute value, for example: JAVA_TOOL_OPTIONS: "-Xmx25G".
services: backend: # ... environment: <<: *common-variables JAVA_TOOL_OPTIONS: "-Xmx25G" # ...
-
How can we improve this article?
-