<div>   I don&#39;t know all the details about this problem, but as far as I heard, the leak was happening because jBPM was adding its listener to the kbase and/or ksession and not removing it on disposals... so the easiest way to get around the leak is to simply remove it yourself before disposing the session.</div>
<div><br></div><div>   Whoever fixed the problem can probably give you details about how to do that.</div><div><br></div><div>   Having said that, if you are using community version, I strongly recommend you to move to 5.3 when it is released as it brings tons of fixes and some good features. Older community versions are not maintained. If you are a Red Hat subscriber, just open a ticket for the version you want to use and they will provide you with patched binaries.</div>
<div><br></div><div>   Edson<br><br><div class="gmail_quote">2011/10/3 alopez <span dir="ltr">&lt;<a href="mailto:alopez@termmed.com">alopez@termmed.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This memory leak is giving us a lot of problems... we need to iteratively<br>
test 400,000 items, one session for each. It was working fine with 5.1.1 and<br>
now is failing.<br>
<br>
Thanks for the test case, is very simple to reproduce, but I tried running<br>
it with:<br>
<br>
&lt;dependency&gt;<br>
        &lt;groupId&gt;org.drools&lt;/groupId&gt;<br>
        &lt;artifactId&gt;knowledge-api&lt;/artifactId&gt;<br>
        &lt;version&gt;5.3.0.CR1&lt;/version&gt;<br>
&lt;/dependency&gt;<br>
... etc.<br>
<br>
And still fails, so I don&#39;t fully trust that this will be fixed on 5.3.0...<br>
do you have confirmation?<br>
<br>
I need to decide if I wait for 5.3 or if I advice to roll back to 5.1.1.<br>
<br>
Thanks<br>
<br>
Alejandro<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Memory-leak-in-5-2-5-3-tp3280351p3391578.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-Memory-leak-in-5-2-5-3-tp3280351p3391578.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>