-
1. Re: Out of memory : Permgen Issue
ffang Jul 6, 2011 8:24 PM (in response to shamik)Hi,
Just a quick notes, for the "PermGen space" exception, you should use -XX:MaxPermSize=the_size_you_wantm
Freeman
-
2. Re: Out of memory : Permgen Issue
shamik Jul 6, 2011 8:28 PM (in response to ffang)Freeman, I'm already using the permgen option with 500 mb allocated. Maybe, I need to bump up the number a little more.
Meanwhile, can you let me know if ActiveMQ and Quartz services are required ?
-
3. Re: Out of memory : Permgen Issue
ffang Jul 6, 2011 9:24 PM (in response to shamik)Hi,
I assume you're using FUSE ESB 4.x.
ActiveMQ feature is used internally by jbi-cluster and servicemix-wsn2005.
Anyway, if you don't use those at all, you can edit $FUSE_ESB/etc/org.apache.karaf.features.cfg and remove activemq-broker, jbi-cluster, servicemix-wsn2005 from featuresBoot.
You can also remove servicemix-quartz from it.
You actually can pick up the necessary default installed feature yourself by editing that file.
Freeman
-
4. Re: Out of memory : Permgen Issue
shamik Jul 7, 2011 4:48 AM (in response to ffang)I removed activemq-broker, jbi-cluster, servicemix-wsn2005 and servicemix-quartz from the org.apache.karaf.features.cfg featuresBoot, but still able to see ActiveMQ Transport, Connection threads as well DefaultQuartzScheduler threads. Is there any other place I need to make the modifications? I'm using fuse 4.4
-
5. Re: Out of memory : Permgen Issue
ffang Jul 7, 2011 5:49 AM (in response to shamik)Hi,
Also remove camel-activemq and servicemix-jms, as both dependency on activemq feature.
Freeman
-
6. Re: Out of memory : Permgen Issue
shamik Jul 7, 2011 1:29 PM (in response to ffang)Unfortunately, ActiveMQ and Quartz still shows up. This how the entry looks like :
featuresBoot=karaf-framework,config,camel,camel-nmr,camel-cxf,war,servicemix-cxf-bc,servicemix-file,servicemix-ftp,servicemix-http,servicemix-mail,servicemix-smpp,servicemix-snmp,servicemix-vfs,servicemix-bean,servicemix-camel,servicemix-cxf-se,servicemix-drools,servicemix-eip,servicemix-osworkflow,servicemix-scripting,servicemix-validation,servicemix-saxon
Probably,some other feature has an internal reference ?
-
7. Re: Out of memory : Permgen Issue
davsclaus Jul 8, 2011 3:13 AM (in response to shamik)Most of the servicemix-xxx is JBI components. If you dont need that, then I suggest to try remove those features as well.
For example I could imaging the osworkflow may depend and use Quartz as its a workflow engine
-
8. Re: Out of memory : Permgen Issue
shamik Jul 8, 2011 4:17 AM (in response to davsclaus)Thanks Freeman, I'll try selectively remove them and see how it goes.
-
9. Re: Out of memory : Permgen Issue
ffang Jul 8, 2011 4:28 AM (in response to shamik)Hi,
That's Claus who answer you just now, I guess you wanna thank him.
Freeman
-
10. Re: Out of memory : Permgen Issue
shamik Jul 15, 2011 2:37 PM (in response to ffang)My bad, thanks Claus