My Oracle Support Banner

OPatch napply fails with Error reporting " Exception in thread "Thread-4" java.lang.OutOfMemoryError: Java heap space " (Doc ID 1574571.1)

Last updated on FEBRUARY 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Installation of Patch using Opatch napply reports below error and fails to report conflict details with existing patch

Exception in thread "Thread-4" java.lang.OutOfMemoryError: Java heap space
UtilSession failed: Java heap space
       at java.lang.StringCoding.encode(StringCoding.java:369)
       at java.lang.String.getBytes(String.java:812)
       at java.io.UnixFileSystem.setLastModifiedTime(Native Method)
       at java.io.File.setLastModified(File.java:1227)
       at oracle.sysman.oii.oiit.OiitLockHeartbeat.touchFile(OiitLockHeartbeat.java:270)
       at oracle.sysman.oii.oiit.OiitLockHeartbeat.update(OiitLockHeartbeat.java:288)
       at oracle.sysman.oii.oiit.OiitLockHeartbeat$HeartBeatThread.run(OiitLockHeartbeat.java:13

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.