Configuring memory flags for each service type

You can set memory flags to performance tune each service's JVM.

Procedure

  1. Stop all services.
  2. Edit the $TOP/bin/conf/service_mem_settings.ini file.

    Specify the maximum amount of memory that each JVM can use along with the minimum amount of memory each JVM should start with. Modifying your memory flags should take into account the size of your system's total memory. The recommended memory flag settings are sufficient for most production systems. For more support on setting your memory flags to optimize performance, contact IBM® Software Support.

    1. For each JVM, specify the -Xmx parameter to define the maximum amount of memory each JVM can use.
    2. For each JVM, specify the -Xms parameter to define the minimum amount of memory each JVM starts with.
    Default settings
    export ADMIN_MEMORY_FLAG='-Xmx64m -Xms48m'
    export APPSVR_MEMORY_FLAG='-Xmx512m -Xms64m'
    export EVENTPROCESSOR_MEMORY_FLAG='-Xmx64m -Xms48m'
    export QUEUEMANAGER_MEMORY_FLAG='-Xmx64m -Xms48m'
    export SCHEDULER_MEMORY_FLAG='-Xmx1024m -Xms48m'
    export WORKFLOWENGINE_MEMORY_FLAG='-Xmx64m -Xms48m'
  3. Restart all services.