Troubleshooting the data preparation address space
The following issues are listed:
Not enough memory
Issue
The following errors are issued:
JVMJ9VM015W Initialization error for library j9gc29(2): Failed to initialize
Error: Could not create the Java Virtual Machine. Error: A fatal exception has
occurred. Program will exit”
Probable cause
The training engine does not have enough memory allocated.
Resolution
Set MODELGEN_MEMORY to a value equal or greater than 64MB.
MODELGEN_MEMORY set to too small a value
Issue
The following errors are issued:
2020/03/24 13:59:07 - please wait. JVMDUMP032I JVM requested System dump using
'RGS.UIM.JVM.TDUMP.MVSXXXTC.D200324.T135907' in response to an event
JVMPORT022I Appending .X&DS to user-specified dump template to enable
multi-part dumps. IEATDUMP in progress with options
SDATA=(LPA,GRSQ,LSQA,NUC,PSA,RGN,SQA,SUM,SWA,TRT) IEATDUMP failure for
DSN='RGS.UIM.JVM.TDUMP.MVSXXXTC.D200324.T135907.X&DS' RC=0x00000008
RSN=0x00000022
JVMPORT023W IEATDUMP failed because user-specified dump template
was too long. Retrying dump with default template. IEATDUMP in progress with
options SDATA=(LPA,GRSQ,LSQA,NUC,PSA,RGN,SQA,SUM,SWA,TRT) IEATDUMP success for
DSN='MVSXXX.JVM.MVSXXXTC.D200324.T135907.X&DS'
JVMDUMP040I System dump written to dataset(s) using name template
MVSXXX.JVM.MVSXXXTC.D200324.T135907.X&DS
JVMDUMP032I JVM requested Heap dump using
'/shrd/mvsxxx/trainingEngine/heapdump.20200324.135907.34079992.0002.phd' in
response to an event
JVMDUMP010I Heap dump written to /shrd/mvsxxx/trainingEngine/heapdump.20200324.135907.34079992.0002.phd
JVMDUMP032I JVM requested Java dump using
'/shrd/mvsxxx/trainingEngine/javacore.20200324.135907.34079992.0003.txt' in
response to an event
JVMDUMP010I Java dump written to /shrd/mvsxxx/trainingEngine/javacore.20200324.135907.34079992.0003.txt
JVMDUMP032I JVM requested Snap dump using
'/shrd/mvsxxx/trainingEngine/Snap.20200324.135907.34079992.0004.trc' in
response to an event
JVMDUMP010I Snap dump written to
/shrd/mvsxxx/trainingEngine/Snap.20200324.135907.34079992.0004.trc
JVMDUMP013I Processed dump event systhrow, detail java/lang/OutOfMemoryError.
Exception in thread main java.lang.OutOfMemoryError: Java heap space tat
com.bmc.zso.ami.trainingEngine.DataSet$Model.<init>(DataSet.java:992) tat
com.bmc.zso.ami.trainingEngine.DataSet.add(DataSet.java:248) tat
com.bmc.zso.ami.trainingEngine.Driver.main(Driver.java:424) tat
com.bmc.zso.ami.trainingEngine.Main.main(Main.java:9
Probable cause
MODELGEN_MEMORY is set to a value that is too small.
Resolution
Set MODELGEN_MEMORY to a larger value.
- Default value is 40 GB.
- Minimum value is 64 MB.
We recommend using the default value if possible. Otherwise use as large a value as feasible.
System memory limit lower than MODELGEN_MEMORY
Issue
The following errors are issued:
07:46:29,716 ERROR íù íù com.bmc.zso.ami.pipe.AmiPipeManager - error
message is: JVMJ9VM015W Initialization error for library j9gc29(2):
Failed to instantiate heap. 40G requested Error: Could not create the
Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
Probable cause
The system memory limit is lower than the MODELGEN_MEMORY setting (default value is 40 GB).
Resolution
Increase started task region size and USS MEMLIMIT.
Started task region size too small
Issue
The following errors are issued:
508 TCB=008C3280 FMID=ZPDR110 RMID=PDR1100 PROD=AMIPRD
508 LMOD=PDRPRDCT MEMBER=PDRWMPCR FUNCTION=PDRWMPCR
508 RC=X'00000008' RSN=X'00000026' R1=X'00000000_00000100' EX_OFF=X'01AC'
Probable cause
the started task region size is too small.
Resolution
Increase the started task region size.
Invalid value in MODELGEN_JAVA
Issue
An error similar to the following is issued:
Cannot run program \"\/java\/J8.0_64\/bin\/java\" (in directory
\"\/shrd\/mvsxxx\/trainingEngine\"):
\/java\/J8.0_64\/bin\/java\u0000: not found
Probable cause
MODELGEN_JAVA is set to an invalid value.
Resolution
Set MODELGEN_JAVA to the correct JAVA_HOME value.
Invalid value in MODELGEN_PATH
Issue
An error similar to the following is issued:
class java.io.IOException Cannot run program /shrd/java/J8.0_64/bin/java (in
directory /mvsxxx/trainingEngine): EDC5129I No such file or directory.
Probable cause
MODELGEN_PATH is set to an invalid value.
Resolution
Set MODELGEN_PATH to the correct path for the DataTraining.jar file.