Pages

Tuesday, April 5, 2016

Java.Lang.Outofmemoryerror While Applying Patch

Java.Lang.Outofmemoryerror While Applying Patch

Error:

java.lang.OutOfMemoryError
at java.lang.String.<init>(String.java)
at
oracle.apps.ad.v118.jri.ResourceUnitSummaryPackUtilsI118.unpackResourceUnits(Res
ourceUnitSummaryPackUtilsI118.java:373)
at
oracle.apps.ad.v118.jri.JRIMetadataLoadUtilsI118.readJRIMetadata(JRIMetadataLoad
UtilsI118.java:89)
at
oracle.apps.ad.v118.jri.JRIMetadataLoadUtilsI118.readJRIMetadata(JRIMetadataLoad
UtilsI118.java:144)
at
oracle.apps.ad.v118.jri.ZipFileResourceUnitAreaI118.initialize(ZipFileResourceUn
itAreaI118.java:219)
at oracle.apps.ad.v118.jri.adjcopyI118.main(adjcopyI118.java:579)
at oracle.apps.ad.jri.adjcopy.main(adjcopy.java:44)
Exception in thread "main"
AD  Run Java Command is complete.
                     Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA
                                    AD Java
                                 Version 11.5.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.

Cause:
The issue is caused by an inadequate memory allocation for jvm.

Solution:

To implement the solution, please execute the following steps:

1. Using OAM or Editcontext modify the java memory parameters in the xml file. These are
s_jvm-options
s_adjreopts
s_adjriopts

Set them all to 512

2. Run Autoconfig.
3. Restart the patch.

Reference metalink Doc ID 357359.1

No comments:

Post a Comment