-
1. Re: Memory Leak in Content Based Router
marklittle Jun 5, 2008 7:15 AM (in response to mzeijen)Thanks. Could you create a JIRA and attach the example code?
-
2. Re: Memory Leak in Content Based Router
kadlecp Jun 5, 2008 8:31 AM (in response to mzeijen)Hello,
it may be this issue
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128672
Pavel -
3. Re: Memory Leak in Content Based Router
mzeijen Jun 5, 2008 9:02 AM (in response to mzeijen)Maybe it is that issue. I am still going to create that Jira topic so that some one from the JBoss ESB team can check it out.
-
-
5. Re: Memory Leak in Content Based Router
kadlecp Jun 5, 2008 9:10 AM (in response to mzeijen)I should have done that when I encountered that issue.
Regards
Pavel -
6. Re: Memory Leak in Content Based Router
kconner Jun 11, 2008 11:11 AM (in response to mzeijen)The issue you have identified has been fixed in the drools code base but there is a workaround for our environment :)
The ReteooRuleBase is accumulating the event handlers (which contain session references) without releasing them. These handlers are used to notify the sessions of any updates to the rule base (which we never do) so the simple workaround is to disable their use.
The easiest way to achieve this is to start the server with the following on the command line-Ddrools.ruleBaseUpdateHandler
Your test case ran on my machine for 4 mins 30 secs before crashing, it has currently been running (with this option specified and running indefinitely) for over 40 mins and is still going.