Java heap space While using opatch (Doc ID 888252.1)

Last updated on JUNE 01, 2015

Applies to:

Oracle Server - Enterprise Edition - Version: 11.1.0.7 to 11.1.0.7 - Release: 11.1 to 11.1
Oracle Solaris on SPARC (64-bit)
Sun Solaris SPARC (64-bit)

Symptoms

Following error is encountered while applying a one off patch on rdbms home 11.1.0.7:
    
    
INFO:Registered Encoding value is : ISO8859-1 for the file
    /appnd1/udb/oracle/product/orapproddb/11.1.0.7/inventory/oneoffs/6530141/etc/config/actions.xml
    SEVERE:OUI-67073:ApplySession failed: ApplySession failed in system modification phase...
    'ApplySession::apply failed: Java heap space'
    INFO:OPatch will attempt to restore the system...
    INFO:Restoring the Oracle Home...
    INFO:Checking if OPatch needs to invoke 'make' to restore some binaries...
    INFO:Running make for target "ioracle"
    INFO:Start invoking 'make' at Mon Aug 24 10:29:02 PDT 2009Mon Aug 24 10:29:02 PDT 2009
    INFO:Finish invoking 'make' at Mon Aug 24 10:29:34 PDT 2009
    INFO:OPatch was able to restore your system. Look at log file and timestamp of each file to make
    sure your system is in the state prior to applying the patch.
    INFO:Finishing ApplySession at Mon Aug 24 10:29:34 PDT 2009
    INFO:Total time spent waiting for user-input is 2 seconds.  Finish at Mon Aug 24 10:29:34 PDT 2009
    INFO:Stack Description: java.lang.Error: ApplySession failed in system modification phase...
    'ApplySession::apply failed: Java heap space'
    INFO:StackTrace: oracle.opatch.ApplySession.processLocal(ApplySession.java:4548)
    INFO:StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5476)
    INFO:StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1633)
    INFO:StackTrace: oracle.opatch.OPatch.main(OPatch.java:630)

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms