[Solved] GC overhead limit exceeded

Application Tier weblogic patch troubleshooting
Oracle

Share Post Now :

HOW TO GET HIGH PAYING JOBS IN AWS CLOUD

Even as a beginner with NO Experience Coding Language

Explore Free course Now

Table of Contents

Loading

This post covers solution for the issue while applying Application tier WebLogic patches as part of Oracle E-Business Suite 12.2.8 patching and how to troubleshoot it with the complete solution.

If you have not yet gone through with FREE video from Oracle ACE & Author Atul Kumar on Online Patching (ADOP) in Oracle E-Business Suite (Apps) R12.2 for Apps DBAs  then I suggest you look here

If you are looking for Oracle E-Business 12.2.8 software: how to download, upgrade path to 12.2.8 and new features that come with EBS 12.2.8 then look here

Issue

While applying Application tier WebLogic Server patches as part of EBS 12.2.8 patching

cd /u01/oracle/PRD122/fs1/FMW_Home/utils/bsu

./bsu.sh -install -patch_download_dir=/u01/oracle/PRD122/fs1/FMW_Home/utils/bsu/cache_dir -patchlist=PSVV,45ET,96N5,DI8E,DN1F,7P2C,XNBA,GHHS -prod_dir=/u01/oracle/PRD122/fs1/FMW_Home/wlserver_10.3

Patch already installed: 32I2

Patch already installed: YHJK in profile: Default

Patch already installed: S9MN in profile: Default

Patch already installed: TTEM

Patch already installed: YVDZ

Patch already installed: 7FC9

Patch already installed: S8H6 in profile: Default

Checking for conflicts…………………………………………………………………………………………………

Conflict(s) detected – resolve conflict condition and execute patch installation again

Conflict condition details follow:

Patch HJDT requires the following patch(es): GENM

Exception in thread “main” java.lang.OutOfMemoryError: GC overhead limit exceeded

        at java.util.Arrays.copyOf(Arrays.java:2367)

        at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)

        at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)

        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)

        at java.lang.StringBuilder.append(StringBuilder.java:132)

        at java.lang.Class.getMethod(Class.java:1678)

        at com.bea.cie.common.dao.xbean.XBeanDataHandler.isValueSet(XBeanDataHandler.java:958)

        at com.bea.cie.common.dao.xbean.XBeanDataHandler.getValueFromObject(XBeanDataHandler.java:589)

        at com.bea.cie.common.dao.xbean.XBeanDataHandler.getSimpleValue(XBeanDataHandler.java:431)

        at com.bea.plateng.patch.dao.cat.PatchDependency.getRule(PatchDependency.java:48)

        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getInvalidatedPatchMap(PatchCatalogHelper.java:1625)

        at com.bea.plateng.patch.PatchSystem.updatePatchCatalog(PatchSystem.java:436)

        at com.bea.plateng.patch.PatchSystem.refresh(PatchSystem.java:130)

        at com.bea.plateng.patch.PatchSystem.setCacheDir(PatchSystem.java:201)

        at com.bea.plateng.patch.Patch.main(Patch.java:306)

Cause: 

We need to install Patch GENM as required for Patch HJDT.

Also, the heap size specified for BEA Smart Update (BSU) is not sufficient.

Fix: 

1. Source the Oracle E-Business Suite Release 12.2 environment

2. Change directory to $FMW_HOME/utils/bsu

3. Back up the existing copy of bsu.sh (or bsu.cmd on Microsoft Windows)
cp bsu.sh bsu.sh_backup
4. Open bsu.sh (or bsu.cmd on Microsoft Windows) in a text editor such as vi and increase these values as needed:
MEM_ARGS=”-Xms256m -Xmx512m”
on UNIX to:
MEM_ARGS=”-Xms1024m -Xmx1024m -XX:+UseParallelGC”
on Microsoft Windows to:
set MEM_ARGS=-Xms512m -Xmx1024m -XX:+UseParallelGC
5. Save the modified bsu.sh (or bsu.cmd on Microsoft Windows) file and exit the editor.
6. Install PSU patch GENM as 

./bsu.sh -install -patch_download_dir=/u01/oracle/PRD122/fs1/FMW_Home/utils/bsu/cache_dir -patchlist=GENM -prod_dir=/u01/oracle/PRD122/fs1/FMW_Home/wlserver_10.3

Checking for conflicts………………
No conflict(s) detected

Installing Patch ID: GENM..
Result: Success

7. Run the patch installation procedure again.
./bsu.sh -install -patch_download_dir=/u01/oracle/PRD122/fs1/FMW_Home/utils/bsu/cache_dir -patchlist=PSVV,45ET,96N5,DI8E,DN1F,7P2C,XNBA,GHHS -prod_dir=/u01/oracle/PRD122/fs1/FMW_Home/wlserver_10.3
After performing the above steps, we could apply all application tier WebLogic patches successfully with no issue.

Related/Further Readings

This post is from our Oracle Apps DBA (R12.2) Training, in which we cover  Architecture & Changes in Oracle E-Business Suite R12.2, Staging & Installation, File System & Important Files in R12.2, Start/Stop, Patching, AD Administration, Cloning, Concurrent Managers, AutoConfig, Password Management, and Troubleshooting and much more

Next Task For You

We cover Oracle E-Business R12.2 Architecture & concepts in our Oracle Apps DBA For Beginners Training along with the Installation, Patching, Cloning, and Troubleshooting and also, Database upgrade to 19c  and much more including the hands-on labs you must perform to upgrade your skills and get a good job with a high package.

Begin your journey towards becoming an Apps DBA by joining our FREE Masterclass on How To Learn Oracle Apps DBA (R12) & It’s New Features.

Picture of mike

mike

I started my IT career in 2000 as an Oracle DBA/Apps DBA. The first few years were tough (<$100/month), with very little growth. In 2004, I moved to the UK. After working really hard, I landed a job that paid me £2700 per month. In February 2005, I saw a job that was £450 per day, which was nearly 4 times of my then salary.