Minimum Ant with Enterprise Extensions build region size

In an Ant with Enterprise Extensions 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 Ant with Enterprise Extensions build, the build will fail.
Tip: To discover how much address space is available, run the ulimit -a command from a build definition you created with the Command Line - Rational Build Agent build definition template.
Attention: Although the minimum region size for an Ant with Enterprise Extensions build can vary, the Ant with Enterprise Extensions build for Hello World COBOL requires at least 128M. For more information about region size and Java on z/OS®, see Hints and tips for Java on the z/OS and OS/390® Platforms.
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

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki