We have an apache servicemix instance (version 3.3.1) in Production which runs our bpel flows (using apache ode 1.3.5) and some camel code ( for the routing ). The issue is that, the used heap space of the servicemix process keeps increasing. Eventually it runs out of space and crashes. As a result we have to keep restarting the process every 7-8 days. (which is very very annoying)
The present jvm memory configurations for the process are as follows
-Xms512M -Xmx2048M -XX:PermSize=512m -XX:MaxPermSize=1024m
We have another servicemix instance with the same memory configurations, but running under slightly lesser load which runs for about 20-22 days before it exceeds the allocated heap space. Obviously, the lesser load on this one helps it in it's extended run.
My questions
Has anyone experienced the same kind of issue with the above mentioned version of apache servicemix ?
(At an initial level i want to identify whether it is a container related leak or an application related issue )How do you go about solving this problem ? Is there a methodology that i can apply for finding out the issue ? If so, can anyone list out the steps involved in the same ?
(Memory Leak resolution articles available on the net seems to emphasize more on the theory that causes memory leaks than on the steps that should be adopted for solving it)
Need your thoughts, suggestions and advice on this.
Thanks,
Arun Jolly