9.2 Configure Infrastructure Server Memory

The memory settings for Infrastructure Application Server, Tomcat, WebSphere, and WebLogic can be edited for customizing memory settings and garbage collector settings depending on the available hardware configuration as explained in the following section. These settings are the bare minimum and have to be incremented considering the deployment metrics into account. The increments are usually handled in multiples of 128 MB for heap and 64 MB for the stack.
You can configure the Infrastructure Application Memory settings as follows:
  1. Locate the .profile file.
  2. Edit X_ARGS field in this file for customizing memory settings and garbage collector settings depends on the hardware configuration.
    This has a default value X_ARGS="-Xms200m" X_ARGS=" "$X_ARGS" $DELIM -Xmx2048m"

    Note:

    Modify X_ARGS_APP variable in the .profile file to customize Java Memory Settings for Model Upload based on the Data Model size.
    For Run and Rule executions, the following value is recommended:
    X_ARGS_RNEXE="-Xms1g -Xmx1g -XX:+UseAdaptiveSizePolicy
    -XX:MaxPermSize=512M -XX:+UseParallelOldGC
    -XX:+DisableExplicitGC"
    X_ARGS_RLEXE="-Xms1g -Xmx1g -XX:+UseAdaptiveSizePolicy
    -XX:MaxPermSize=512M -XX:+UseParallelOldGC
    -XX:+DisableExplicitGC"