Issue:
WLS BSU (Smart Update) may take a very long time to apply patches. This is especially true with larger patches such as the Patch Set Update (PSU) and is most noticeable when going through the process to check for conflicts. You may have increased memory for the BSU in the past, but is still not completing in an acceptable time. Using the normal command to apply a patch:
./bsu.sh -install -patchlist=XXXX -patch_download_dir=/home/weblogic/wls/1036/utils/bsu/cache_dir -prod_dir=/home/weblogic/wls/1036/wlserver_10.3
Oracle mentioned in its MOS Note : 2271366.1 that it is identified as a defect.
Oracle has released a enhancement to optimize the processing.
Pre-requisites:
Oracle Weblogic needs to be on 10.3.6
Ensure Smart Update 3.3.0 is applied
Fix:
Download Patch 31136426: SMART UPDATE TOOL ENHANCEMENT V4
copy the patch to $WL_HOME/utils/bsu and unzip
Run the bsu_update.sh as below:
. ./bsu_update.sh install
Further, to avoid outofMemory errors, edit the Xmx value to 2048M or 4096M as the server supports.