I am installing CA LDAP SERVER for z/OS r12. I am trying to unload the LDAPINST.JAR file into the HFS and I am getting message JVMJ9VM0115W and messages that the java request failed to allocate 8192Kb data cache. How do I resolve this error?

Document ID : KB000054666
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

I am unloading LDAPINST.JAR and getting the following messages:

    java -jar ldapinst.jar -i console 
    Error: unable to allocate 67108864 bytes for GC in j9vmem_reserve_memory 
    Error: unable to allocate 53686784 bytes for GC in j9vmem_reserve_memory 
    Error: unable to allocate 42949120 bytes for GC in j9vmem_reserve_memory  
    Error: unable to allocate 34359296 bytes for GC in j9vmem_reserve_memory  
    Error: unable to allocate 27487232 bytes for GC in j9vmem_reserve_memory  
    Error: unable to allocate 21989376 bytes for GC in j9vmem_reserve_memory  
    <JIT: fatal error, failed to allocate 8192 Kb data cache>                 
    JVMJ9VM0115W Initialization error for library j9jit23(11): cannot initialize JIT
Could not create the Java virtual machine.

Why has this happened and what should I do to resolve it?

Solution

This has happened because JAVA is trying to allocate the required storage that it needs but there is not enough region available.

In order to unload the jar into the HFS the TSO region size needs to be increased. The required region size depends on your environmental variables.

You may want to start at 100Meg and increase as necessary.