APAR status
Closed as unreproducible in next release.
Error description
When running the z/OS Connect EE build toolkit (zconbt) against a Swagger document to create an artifact file, the following error occurs in the Java Virtual Machine (JVM): Exception in thread "main" java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.util.ArrayList.<init>(ArrayList.java:153) ...... Additional search words: OOM BAQB0012W msgBAQB0012W BAQB0012 msgBAQB0012
Local fix
Reduce the maxItems size
Problem summary
**************************************************************** * USERS AFFECTED: All users of the z/OS Connect EE build * * toolkit generating API requester artifacts * * (ARAs). * **************************************************************** * PROBLEM DESCRIPTION: The z/OS Connect EE build toolkit fails * * with "java.lang.OutOfMemoryError: * * Requested array size exceeds VM limit". * **************************************************************** In the Swagger document, the maxItems for each array type object is 2147483647 (Integer.MAX_VALUE in Java). When parsing the document, the z/OS Connect EE build toolkit code generated Java arrays exceeding the JVM's array capacity for a single array. Array elements are referenced using an integer index so the theoretical array size limit is 2147483647 elements. However JVM implementations can retain space for array metadata meaning arrays cannot be defined with a length close to Integer.MAXVALUE.
Problem conclusion
Temporary fix
Comments
The z/OS Connect EE build toolkit has been changed to report the following message if the the value for the maxItems property exceeds the allowed value: BAQB0012W: The definition for array <array_name> contains a value <value> for property <property_name> that exceeds the maximum value of <maximum_value> The maximum value for the array size is 2147483391 elements and is not configurable. The fix for this APAR is expected to be delivered by the PTF for z/OS Connect EE V3.0.50.0 (PH40632).
APAR Information
APAR number
PH36601
Reported component name
Z/OS CONNECT EE
Reported component ID
5655CE300
Reported release
000
Status
CLOSED UR1
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-04-22
Closed date
2021-09-20
Last modified date
2021-09-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
Z/OS CONNECT EE
Fixed component ID
5655CE300
Applicable component levels
[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNPJM","label":"IBM z\/OS Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.0"}]
Document Information
Modified date:
14 February 2023