U00045014 java.lang.OutOfMemoryError during Binary File Transfer on z/OS Java Agent
search cancel

U00045014 java.lang.OutOfMemoryError during Binary File Transfer on z/OS Java Agent

book

Article ID: 446501

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

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

Environment:

  • Product: Automic Workload Automation
  • Component: z/OS Agent (MVS)
  • Version: 24.4.x (Java-based)

Cause

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.

Resolution

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

Additional Information

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.