Java.lang.OutOfMemoryError" Error When Applying Oracle Weblogic Server Patch(bsu.sh)
While applying the latest PSU for Weblogic, you might get below error:
./bsu.sh -install -patch_download_dir=/home/oracle/fmw/product/112/utils/bsu/cache_dir -patchlist=S8C2 -prod_dir=/home/oracle/fmw/product/112/wlserver_10.3/
Exception in thread "main" java.lang.OutOfMemoryError: getNewTla
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.(XBeanDataHandler.java:99)
at com.bea.cie.common.dao.xbean.XBeanDataHandler.createDataHandler(XBeanDataHandler.java:559)
Cause:
The memory arguments are in bsu.sh are not sufficient
Solution:
1) Go to/u9000/app/oracle/product/ofm_11.1.1.6/fmw/utils/bsu
2) Take backup of bsu.sh and edit as below
> take back up and edit bsu.sh
From MEM_ARGS="-Xms256m -Xmx512m" to MEM_ARGS="-Xms1024m -Xmx1024m"
4) Apply the patch
./bsu.sh -install -patch_download_dir=/u9000/app/oracle/product/ofm_11.1.1.6/fmw/utils/bsu/cache_dir -patchlist=K25M -prod_dir=/u9000/app/oracle/product/ofm_11.1.1.6/fmw/wlserver_10.3
Checking for conflicts.....
No conflict(s) detected
Installing Patch ID: K25M..
Result: Success
While applying the latest PSU for Weblogic, you might get below error:
./bsu.sh -install -patch_download_dir=/home/oracle/fmw/product/112/utils/bsu/cache_dir -patchlist=S8C2 -prod_dir=/home/oracle/fmw/product/112/wlserver_10.3/
Exception in thread "main" java.lang.OutOfMemoryError: getNewTla
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.
at com.bea.cie.common.dao.xbean.XBeanDataHandler.createDataHandler(XBeanDataHandler.java:559)
Cause:
The memory arguments are in bsu.sh are not sufficient
Solution:
1) Go to/u9000/app/oracle/product/ofm_11.1.1.6/fmw/utils/bsu
2) Take backup of bsu.sh and edit as below
> take back up and edit bsu.sh
From MEM_ARGS="-Xms256m -Xmx512m" to MEM_ARGS="-Xms1024m -Xmx1024m"
4) Apply the patch
./bsu.sh -install -patch_download_dir=/u9000/app/oracle/product/ofm_11.1.1.6/fmw/utils/bsu/cache_dir -patchlist=K25M -prod_dir=/u9000/app/oracle/product/ofm_11.1.1.6/fmw/wlserver_10.3
Checking for conflicts.....
No conflict(s) detected
Installing Patch ID: K25M..
Result: Success
No comments:
Post a Comment