Configuring the Java virtual machine heap size
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.
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:
Edit the Tomcat AMITCJCL in your system PROCLIB and add export MODELGEN_MEMORY in environment variables as follows:
(BMC.AMIOPS.SPE2304)---------------------------------------------------------------------
Set AMI modelgen env variables
----------------------------------------------------------------------
export MODELGEN_PATH=$AMI_INSTALL_PATH/datatrain
export MODELGEN_JAVA=$AMI_INSTALL_PATH/java/J8.0_64
export MODELGEN_MEMORY=10g <=== Ex. 40g, 1g, 1000mUpdate 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- Restart the Tomcat server.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*