15.2 Configuring Infrastructure Server Memory
The memory settings for the infrastructure application server 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 base minimum and has to be incremented considering the deployment metrics into account. The increments are usually handled in multiples of 128mb for heap and 64mb for stack.
Infrastructure Application Server Memory Settings
You can configure the Infrastructure Application Memory settings as follows:
- Locate.profile file.
- 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"