• Register
1 vote
24 views

Problem:

 I got error while applying weblogic patch useing bsu.sh:

patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=GFWX -prod_dir=$FMW_HOME/wlserver_10.3 -log=$FMW_HOME/utils/bsu/bsu_weblogic.log
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.lang.Class.getInterfaces(Native Method)
        at java.lang.Class.getMethod0(Class.java:2779)
        at java.lang.Class.getMethod0(Class.java:2782)
        at java.lang.Class.getMethod0(Class.java:2773)
        at java.lang.Class.getMethod0(Class.java:2773)
        at java.lang.Class.getMethod(Class.java:1653)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.isValueSet(XBeanDataHandler.java:958)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.getValueFromObject(XBeanDataHandler.java:589)
        at com.bea.cie.common.dao.xbean.XBeanDataHandler.getSimpleValue(XBeanDataHandler.java:431)
        at com.bea.plateng.patch.dao.cat.PatchDependency.getRule(PatchDependency.java:48)
        at com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getInvalidatedPatchMap(PatchCatalogHelper.java:1625)
        at com.bea.plateng.patch.PatchSystem.updatePatchCatalog(PatchSystem.java:436)
        at com.bea.plateng.patch.PatchSystem.refresh(PatchSystem.java:130)
        at com.bea.plateng.patch.PatchSystem.setCacheDir(PatchSystem.java:201)
        at com.bea.plateng.patch.Patch.main(Patch.java:281)

Can anyone explain me this and help me to solve this error?

10 7 2
6,060 points

1 Answer

1 vote

Answer:

Please follow the below steps:

Step 1: Take backup of bsu.sh script.

[applmgr@ebsapps bsu]$ pwd
/u01/app/applmgr/fs1/FMW_Home/utils/bsu

[applmgr@ebsapps bsu]$ cp bsu.sh bsu.sh_12May2015

Step 2: Edit bsu.sh script and increase the memory. Make sure have enough free memory in server.

set MEM_ARGS=-Xms1024m -Xmx1024m

to

set MEM_ARGS=-Xms2048m -Xmx2048m

Step 3: Start weblogic patch.

[applmgr@ebsapps bsu]$ ./bsu.sh -install -patch_download_dir=$FMW_HOME/utils/bsu/cache_dir -patchlist=GFWX -prod_dir=$FMW_HOME/wlserver_10.3 -log=$FMW_HOME/utils/bsu/bsu_weblogic.log

Hope this will work if not then let me know.

11 6 4
34,950 points

Related questions

0 votes
1 answer 98 views
98 views
Problem : I am getting bellow error while I execute my JUnit tests exception in thread "main" java.lang.outofmemoryerror: gc overhead limit exceeded
asked Oct 19, 2019 peterlaw 6.9k points
0 votes
1 answer 176 views
176 views
Problem : I am getting bellow minecraft error minecraft error: java.lang.outofmemoryerror: gc overhead limit exceeded
asked Oct 23, 2019 peterlaw 6.9k points
1 vote
1 answer 39 views
39 views
Problem: I am a begginer in java programming language and I have been coding for just some days. To practice my programming I wrote this code in java: public class Main { public static void main(String[] argv){ int 2count, h-l, a/b, } } But It shows me the error message ... , . expected Syntax error on token ",", ;expected at Main.main(Main.java:3) Whats is wrong in my code can anyone help me out?
asked Apr 6 LizzyM 6.1k points
0 votes
2 answers 1.4K views
1.4K views
Problem : I am having a trouble while importing classes and setting variables and also I need help with my test program which I am doing. I want to test a program that simply outputs what the input was and puts the time stamp ( like Skype does ). I am having ... Message cannot be resolved to a type Message cannot be resolved to a type The constructor Time() is undefined at MyTest.main(Test.java:8)
asked Jan 28 jwilliam 3.9k points
0 votes
1 answer 98 views
98 views
Problem : I am having a problem importing classes and setting variables and I need help with it. I am getting below error exception in thread "main" java.lang.error: unresolved compilation problem:
asked Oct 22, 2019 peterlaw 6.9k points