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

 

 

转载于:https://www.cnblogs.com/middlewaremagic/p/9436230.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值