Increase Memory

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 relevant 1Integrate for WebLogic or WildFly installation documentation.

WebLogic

Heap size allocation is set by the 1Integrate WebLogic installer.

However, after install you can edit the server start arguments to increase or decrease the minimum and maximum available heap size.

Locate the following arguments and adjust the heap size to suit your requirement:

-xmx<heap size>

-xms<heap size>

Note: A server restart is required for the settings to take effect.

Note: For performance reasons it is recommended that your initial heap size matches your maximum heap size.

WildFly

To update the maximum available heap size in a 1Integrate WildFly installation, 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

ClosedWindows

  1. Edit start-Interface.cmd or start-Engine.cmd.

  2. Locate the following lines:

    SET "INTEGRATE_INTERFACE_OPTS=%INTEGRATE_INTERFACE_OPTS%"

    or

    SET "INTEGRATE_ENGINE_OPTS=%INTEGRATE_ENGINE_OPTS%"

  3. 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.

ClosedLinux

  1. Edit start-Interface.sh or start-Engine.sh.

  2. Locate the following lines:

    export "INTEGRATE_INTERFACE_OPTS=%INTEGRATE_INTERFACE_OPTS%"

    or

    export "INTEGRATE_ENGINE_OPTS=%INTEGRATE_ENGINE_OPTS%"

  3. 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.