weblogic Patch

How to Apply WLS Patch on Weblogic Integrated with OEM

Getting "Main Thread" Java.lang.OutOfMemoryError When Installing WebLogic Patch

When trying to install the patch on WebLogic, its resulting in the following error on the command line:

"Exception in thread "Main Thread" java.lang.OutOfMemoryError"

Using the following command to apply the patch:

e:\PSOFT\weblogictest\utils\bsu>bsu.cmd -install -patch_download_dir=E:\PSOFT\weblogictest\utils\bsu\cache_dir -patchlist=GFWX -prod_dir=E:\PSOFT\weblogictest\wlserver_10.3 -log=GFWX_bsu_trace.log -verbose

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run the command "e:\PSOFT\weblogic1036\utils\bsu>bsu.cmd -install -patch_download_dir=E:\PSOFT\weblogic1036\utils\bsu\cache_dir -patchlist=GFWX -prod_dir=E:\PSOFT\weblogic1036\wlserver_10.3 -log=GFWX_bsu_trace.log -verbose"
2. Results in the error "Exception in thread "Main Thread" java.lang.OutOfMemoryError"

CHANGES

CAUSE

 The like reason for this issue is due to MEM_ARGS -Xms and -Xmx parameters are set to low value.

SOLUTION

Increase and set the MEM_ARGS -Xms and -Xmx parameters to higher value.

Forexample:

set MEM_ARGS=-Xms1024m -Xmx2048m

See Solution Patching Error Using BSU - "java.lang.OutOfMemoryError: Java heap space" (Doc ID 1121838.1) for all ways to resolve this i

猜你喜欢

转载自www.cnblogs.com/middlewaremagic/p/9436230.html