Large file transfers (e.g., 3.8 GB+) initiated in Binary mode through the Java-based z/OS Agent (Version 24.4.x) may hang in a "Transferring" state or terminate with a memory exception. This occurs because the V24 agent architecture buffers the entire file content in memory when performing binary transfers, leading to heap exhaustion.
The agent log records the error: U00045014 Exception 'java.lang.OutOfMemoryError: "Java heap space"'.
Environment:
A product defect (DE194728) in the memory handling logic of the z/OS Java Agent. The agent incorrectly attempts to allocate a heap buffer equivalent to the size of the entire dataset during binary transfers.
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Agent MVS
Automation.Engine 24.4.4 HF3 - Available
Public Title: FileTransfer on Agent z/OS aborts with message U00045014 Exception 'java.lang.OutOfMemoryError: "Java heap space"' at 'java.nio.HeapByteBuffer.():71'.
Public Description: FileTransfer on Agent z/OS aborts with message U00045014 Exception 'java.lang.OutOfMemoryError: "Java heap space"' at 'java.nio.HeapByteBuffer.<init>():71'. Can be caused when receiving larger Dataset in binary mode.