Configuring JVM Heap size in BMC AMI Ops Insight


This topic describes how to configure the Java virtual machine (JVM) heap size when you are initiating a model build process.

During a model build process, the Data Training subtask initiated by the BMC AMI Ops Insight Tomcat server utilizes a JVM heap size of 40 GB. If the allocation fails, you might get the following error: 

JVMJ9VM015W Initialization error for library j9gc29( 2): Failed to instantiate heap. 40G requested Error: Could not create the Java Virtual Machine
is issued and model creation fails.

To override the default memory

Perform the following steps to override the default 40 GB memory required by the Data Training subtask:

  1. Copy the AMITCEN6 member from BMCSAMP to UBMCSAMP.
  2. Add MODELGEN_MEMORY parameter to the AMITCEN6 member as follows: 

    ---------------------------------------------------------------------
    Set AMI modelgen env variables                                       
    ----------------------------------------------------------------------
    export MODELGEN_PATH=$AMI_HOME/mgr/lib                                 

    export MODELGEN_JAVA=$AMI_INSTALL_PATH/java/J8.0_64                    

    export MODELGEN_MEMORY=10g                   <=== Ex. 40g, 1g, 1000m
  3. Update AMITCJCL to force the Tomcat server to pick up AMITCEN6 from UBMCSAMP as follows:

    //STDENV DD *,SYMBOLS=JCLONLY < STDENV shell script
    export AMI_INSTALL_PATH=&AMIINST/aoihome
    export AMI_DATA_PATH=&AMIINST/aoidata
    export AMI_HOME=&AMIINST/aoihome/oi_home
    //              DD DISP=SHR,
    //                    DSN=&CNFGLIB1(&TCENV) < STDENV shell script
  4. Restart the Tomcat server.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*