<p>IIRC there was a bug in Drools Expert 5.3 that was not releasing event listeners correctly that led to a memory leak - it might be related to what you have experienced. IIRC this was fixed for 5.4.</p>
<p>Are you able to try with Drools suite 5.4.0.beta2?</p>
<p>sent on the move</p>
<p>On 7 Feb 2012 23:16, "vadlam" <<a href="mailto:sreeram.vadlamudi@wellsfargo.com">sreeram.vadlamudi@wellsfargo.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Nicolas,<br>
<br>
after we run a build and we see that the heap has not been Garbage<br>
collected, when we try run a second build, it crashes after a few minutes<br>
because it does not have much memory to complete the build.<br>
<br>
could it be the case that the package that gets built is getting stored and<br>
not released unless the server is restarted?<br>
<br>
what is the expectation around a package that has been built in Guvnor.<br>
<br>
How long is it retained in Guvnor memory for subsequent access through a<br>
URL?<br>
<br>
The same rules get built in Guvnor 5.2 and memory is subsequently released<br>
after the build.<br>
<br>
so, it looks like there is some kind of leak happening ?<br>
<br>
to contest my own theory, when a package which is smaller in size is built<br>
in Guvnor 5.3, memory is released after the build.<br>
<br>
I wonder what could be happening around that 80-85 heap threshold that is<br>
causing memory to be held back.<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/limits-on-number-of-rules-in-Guvnor-in-a-package-loaded-in-knowledge-base-tp3716069p3724291.html" target="_blank">http://drools.46999.n3.nabble.com/limits-on-number-of-rules-in-Guvnor-in-a-package-loaded-in-knowledge-base-tp3716069p3724291.html</a><br>
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>
</blockquote></p>