I just added this as a comment to JBRULES-2862:<br><br>Given an event sequence A, A, B,..., the<br>rule AB<br>when<br>    A() over window:length(1)<br>    B() over window:length(1)<br>then ... end<br>pairs the last B with *each* A, whereas the rule<br>
rule AB<br>when<br>    B() over window:length(1)<br>    A() over window:length(1)<br>then ... end<br>appears to work correctly.<br><br>-W<br><br><br><div class="gmail_quote">2011/1/30 radai <span dir="ltr">&lt;<a href="mailto:radai.rosenblatt@gmail.com">radai.rosenblatt@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I came across a very similar behavior, but as far as i can tell its far worse: <a href="https://issues.jboss.org/browse/JBRULES-2862" target="_blank">https://issues.jboss.org/browse/JBRULES-2862</a><br>
in my case events just stay in memory forever (until the jvm dies). this means any rule i&#39;ve tried with 2 windows is a memory leak.<br>

<br></blockquote></div><br>