Heap Size Memory Allocation
Depending on the activity you are performing in 1Integrate, it may be necessary to increase the maximum heap size available to your installation.
Note: Heap size can also be increased at the point of installation. For more on this, please refer to the installation documentation.
To update the maximum available heap size in 1Integrate, you can change the start scripts or set an environment variable.
Setting the environment variables
You can set INTEGRATE_ENGINE_OPTS
and INTEGRATE_INTERFACE_OPTS
as environment variables.
If you do this, settings will persist between installations as you will not need to edit the start-up scripts.
Changing the start-up scripts
Windows
-
Edit start-Interface.cmd or start-Engine.cmd.
-
Locate the following lines:
SET "INTEGRATE_INTERFACE_OPTS=%INTEGRATE_INTERFACE_OPTS%"
or
SET "INTEGRATE_ENGINE_OPTS=%INTEGRATE_ENGINE_OPTS%"
-
Define the required size using a Java system property, e.g. to set the interface to 2GB:
SET "INTEGRATE_INTERFACE_OPTS=%INTEGRATE_INTERFACE_OPTS% -Xms2g -Xmx2g"
Note: For performance reasons it is recommended that your initial heap size matches your maximum heap size.
Linux
-
Edit start-Interface.sh or start-Engine.sh.
-
Locate the following lines:
export "INTEGRATE_INTERFACE_OPTS=%INTEGRATE_INTERFACE_OPTS%"
or
export "INTEGRATE_ENGINE_OPTS=%INTEGRATE_ENGINE_OPTS%"
-
Define the required size using a Java system property, e.g. to set the interface to 2GB:
export "INTEGRATE_INTERFACE_OPTS=%INTEGRATE_INTERFACE_OPTS% -Xms2g -Xmx2g"
Note: For performance reasons it is recommended that your initial heap size matches your maximum heap size.