ISSUE:-
Weblogic Smart Update utilily getting hangs and throwing below error
2018-05-23 09:29:30,344 DEBUG [main] com.bea.plateng.patch.gui.PatchMediator - java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
REASON:-
The bsu utility uses Java to initialize and it is running out of heap space.
SOLUTION:-
Windows:
1. Edit the file <WL_HOME>\utils\bsu\bsu.cmd
2. Change the setting:
set MEM_ARGS=-Xms256m -Xmx512m
to
set MEM_ARGS=-Xms1024m -Xmx1024m
3. Start bsu.cmd it should now start Oracle Smart Update
Unix / Linux:
1. Edit the file $WL_HOME/utils/bsu/bsu.sh
2. Change the setting:
MEM_ARGS="-Xms256m -Xmx512m"
to
MEM_ARGS="-Xms1024m -Xmx1024m"
3. Start bsu.sh it should now start Oracle Smart Update
Reference:
E-WL: Weblogic Smart Update (BSU) Hangs when Starting or Errors with Exception in thread "Main Thread" java.lang.OutOfMemoryError (Doc ID 2002949.1)
Weblogic Smart Update utilily getting hangs and throwing below error
2018-05-23 09:29:30,344 DEBUG [main] com.bea.plateng.patch.gui.PatchMediator - java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
REASON:-
The bsu utility uses Java to initialize and it is running out of heap space.
SOLUTION:-
Windows:
1. Edit the file <WL_HOME>\utils\bsu\bsu.cmd
2. Change the setting:
set MEM_ARGS=-Xms256m -Xmx512m
to
set MEM_ARGS=-Xms1024m -Xmx1024m
3. Start bsu.cmd it should now start Oracle Smart Update
Unix / Linux:
1. Edit the file $WL_HOME/utils/bsu/bsu.sh
2. Change the setting:
MEM_ARGS="-Xms256m -Xmx512m"
to
MEM_ARGS="-Xms1024m -Xmx1024m"
3. Start bsu.sh it should now start Oracle Smart Update
Reference:
E-WL: Weblogic Smart Update (BSU) Hangs when Starting or Errors with Exception in thread "Main Thread" java.lang.OutOfMemoryError (Doc ID 2002949.1)