Thanks Greg but I have tried that, creating a newstatefulsession is slowish, taking around 800 milliseconds to do.  When milliseconds count 800 is too long.  It&#39;s faster to do the retracts, they take about 400 millis.<br>
<br>Someone showed a command or configuration recently that tells workingmemory not to re-eval the rules.  I&#39;m looking for that switch or something equivalent.<br><br>Our system is a live transaction system.  The trans need to be  completed and ready for the next one in under a second.<br>
<br clear="all">Scott<br>
<br><br><div class="gmail_quote">On Wed, Sep 16, 2009 at 2:06 PM, Greg Barton <span dir="ltr">&lt;<a href="mailto:greg_barton@yahoo.com">greg_barton@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dispose of your session and create another.<br>
<br>
--- On Wed, 9/16/09, Scott Burrows &lt;<a href="mailto:scottjburrows@gmail.com">scottjburrows@gmail.com</a>&gt; wrote:<br>
<br>
&gt; From: Scott Burrows &lt;<a href="mailto:scottjburrows@gmail.com">scottjburrows@gmail.com</a>&gt;<br>
&gt; Subject: [rules-users] How to prevent activation list creation on retracts<br>
&gt; To: &quot;Rules Users List&quot; &lt;<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt; Date: Wednesday, September 16, 2009, 12:50 PM<br>
<div><div></div><div class="h5">&gt; I think this question was asked recently<br>
&gt; but I cant seem to find it.<br>
&gt;<br>
&gt; Using 4.0.7<br>
&gt;<br>
&gt; I have a large number of facts I need to retract from<br>
&gt; working memory after all rules have been processed<br>
&gt; (transaction is completed) so I can insert new facts for the<br>
&gt; next transaction.  Milliseconds count.<br>
&gt;<br>
&gt;<br>
&gt; I know that drools recalc&#39;s which rules are eligible to<br>
&gt; be run after each retraction.  Since all facts are being<br>
&gt; removed its unneeded processing and time that could be<br>
&gt; saved.<br>
&gt;<br>
&gt; How can I tell drools that until I tell it otherwise do not<br>
&gt; re-evaluate the rules to save time?<br>
&gt;<br>
&gt;<br>
&gt; Scott<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; -----Inline Attachment Follows-----<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
<br>
<br>
<br>
<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></div><br>