Friday, April 19, 2019

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

Applying Oracle EBS WebLogic patch is throwing an error


Checking for conflicts................ ..
Conflict(s) detected - resolve conflict condition and execute patch installation again
Conflict condition details follow:
Patch U5I2 is mutually exclusive and cannot coexist with patch(es): FMJJ,GHHS
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.util.HashMap.createEntry(HashMap.java:897)
        at java.util.HashMap.addEntry(HashMap.java:884)
        at java.util.HashMap.put(HashMap.java:505)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.loadPropertyMap(XBeanDataHandler.java:778)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.<init>(XBeanDataHandler.java:99)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.createDataHandler(XBeanDataHandler.java:559)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.getComplexValue(XBeanDataHandler.java:455)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getPatchDependencies(PatchCatalogHelper.java:442)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getPatchDependencies(PatchCatalogHelper.java:464)
        at com.bea.plateng.patch.dao.cat.PatchCatalog.getPatchDependencies(PatchCatalog.java:56)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getInvalidatedPatchMap(PatchCatalogHelper.java:1621)
        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)
applsmk@grcldm:/u01/EBSDEV/fs1/FMW_Home/utils/bsu$
applsmk@grcldm:/u01/EBSDEV/fs1/FMW_Home/utils/bsu$





Verify the value for the MEM_ARGS Parameters:


grep -i MEM_ARGS $FMW_HOME/utils/bsu/bsu.sh


Change the value if it's not matching:


MEM_ARGS="-d64 -Xms4096m -Xmx4096m -XX:+UseParallelGC"


Below are the finding before and after fix:


applsmk@grcldm:/u01/EBSDEV/fs1/FMW_Home/utils/bsu$ diff bsu.sh bsu.sh.jm1
5,6c5
< #MEM_ARGS="-Xms2048m -Xmx2048m -XX:+UseParallelGC"
< MEM_ARGS="-d64 -Xms4096m -Xmx4096m -XX:+UseParallelGC"
---
> MEM_ARGS="-Xms2048m -Xmx2048m -XX:+UseParallelGC"
applsmk@grcldm:/u01/EBSDEV/fs1/FMW_Home/utils/bsu$



apt-key warning when sudo apt update run

Issue: apt-key warning when sudo apt update run Update below file: cat /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list ...