SMART UPDATE THROWING OutOfMemoryError

SMART UPDATE THROWING OutOfMemoryError

SMART UPDATE THROWING OutOfMemoryError

While applying smart update patchset getting OutOfMemoryError error-

ERROR:

An issue has been reported of the Smart Update utility throwing an OutOfMemoryError when using bsu.cmd or bsu.sh script inside WL_HOME/utils/bsu directory. Below is the exception trace in bsu.log at the time of the issue.

JVMDUMP013I Processed Dump Event “systhrow”, detail “java/lang/OutOfMemoryError”.

Exception in thread “main” java.lang.OutOfMemoryError

at org.apache.xmlbeans.impl.store.Cur.createElementXobj(Cur.java:257)

at org.apache.xmlbeans.impl.store.Cur$CurLoadContext.startElement(Cur.java:2992)

at org.apache.xmlbeans.impl.store.Locale$SaxHandler.startElement(Locale.java:3194)

at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportStartTag(Piccolo.java:1082)

SOLUTION:

The issue happens if the default heap size used by the Smart Update java process is insufficient while launching the Smart Update GUI or applying the patches.

To resolve this issue, increase the heap size for bsu inside the bsu.cmd or bsu.sh script inside WL_HOME/utils/bsu directory. Add Xms and Xmx arguments for increasing the heap size.

For example, set Xms and Xmx values to 512m for the BSU process inside bsu.sh script inside WL_HOME/utils/bsu directory:

#!/bin/sh

JAVA_HOME=”C:/BEA/WLS92.3/jrockit_150_12″

“$JAVA_HOME/bin/java” -Xms512m -Xmx512m -jar patch-client.jar $*

 

For more such weblogic issues and resolution click here.

Latest Weblogic Interview Questions and Answers