In an Antz build, the Rational® Build
Agent executes two Java™ programs:
the file agent and the Apache Ant tool. The amount of virtual storage
that is allocated to those Java programs
is limited by the region size that is set to the TSO address space,
which you must use to start the Rational Build
Agent. This region limit is usually set in the SIZE field
on the TSO LOGON panel. When you set the region size too small for
an Antz build, the build will fail.
Attention: Although the minimum region size for
an Antz build can vary, the Antz build for
Hello World COBOL requires
at least
128M. For more information about region
size and Java on z/OS®, refer to
Hints and tips for Java on the z/OS and OS/390® Platforms at
http://www-03.ibm.com/servers/eserver/zseries/software/java/faq/.
Here are two examples of error messages that you might see
in the build logs for this kind of build region size failure:
* Error: unable to allocate 67108868 bytes for GC in j9vmem_reserve_memory.
* Error: unable to allocate 53686788 bytes for GC in j9vmem_reserve_memory.
* JVMJ9VM015W Initialization error for library j9jit23(11): cannot initialize JIT
* Could not create the Java virtual machine.
* <JIT: fatal error, failed to allocate 8192 Kb data cache>
* The java class could not be loaded. java.lang.OutOfMemoryError:
ZIP006:OutOfMemoryError, ENOMEM error in ZipFile.open