<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Verdana;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
</HEAD>
<BODY lang=FR link=blue vlink=blue>
<DIV>
<DIV>
<div class=Section1>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'>Mike and Wolfgang,
things are clearer now, I will definitely try to your suggestions.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'>Thanks for the help,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'>Joel<o:p></o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De :</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b><span style='font-weight:bold'>De la part de</span></b> Wolfgang Laun<br>
<b><span style='font-weight:bold'>Envoyé :</span></b> vendredi 11
septembre 2009 12:42<br>
<b><span style='font-weight:bold'>À :</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Objet :</span></b> Re: [rules-users]
Memory error when inserting facts in statefulsession</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Hello Joel,<br>
<br>
nothing on the LHS (between when and then) matters when a rule fires; so eval()
and all other CEs are evaluated when facts are inserted.<br>
<br>
So, trying to get rid of the eval's would be worthwhile.<br>
<br>
The second thing (and I agree with Michael) is that you shoudl get rid of
collect, which causes the delay during insertion. I'd also use a Collector fact
with attributes for deal, a booking rule and a count.<br>
<br>
rule addCollector<br>
when<br>
$deal: </span></font><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>MarketDealModel()<br>
not (Collector( deal == $deal )<br>
then<br>
insert( new Collector( §deal ) );<br>
end<br>
<br>
When there is a matching Collector and a BTExecutionBookingRuleModel matches </span></font>the
deal:<br>
then<br>
modify the collector by incrementing the count and storing the matched
booking rule<br>
<br>
At a lower salience, add 2 rules matching a collector with count == 1 and count
!= 1 with obvious consequences. (The second one could switch to the next level
activation group.)<br>
<br>
HTH<br>
Wolfgang<br>
<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2009/9/11 Costigliola Joel (EXT) <<a
href="mailto:joel.costigliola-ext@natixis.com">joel.costigliola-ext@natixis.com</a>><o:p></o:p></span></font></p>
<div link=blue vlink=purple>
<div>
<div>
<div>
<p><font size=2 color=blue face=Verdana><span style='font-size:10.0pt;
font-family:Verdana;color:blue'>Hi Mike,</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>Quick reply, thanks !</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>I think I can’t use « exists »
because I want one and only one booking rule of a specific level (LEVEL_1,
LEVEL_2, …) matching a deal, that’s why the bookingRuleModels list
collected should only contain 1 booking rule. This explain why in the RHS
I’m getting the first booking rule (bookingRuleModels.get(0)).</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>If there is more than one booking rule (or
none), I switch to the second Drools rule which tries to find a unique LEVEL_2
booking rule, then same thing if none or too many, switch to LEVEL_3 booking
rule …</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>Hope you get the idea.</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>The matchXXX function compare the XXX criterion
of a booking rule (ex Trader) with the corresponding Deal attribute (ex Trader).</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>Here’s the implementation for comparing
trader criterion, note that if a booking rule does not specify a criterion it
is considered as matched.</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'> </span></font><b><font
size=2 color="#7f0055" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#7F0055;font-weight:bold'>private</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><b><font size=2
color="#7f0055" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>static</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><b><font size=2
color="#7f0055" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>boolean</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> matchCriterion(NorthIdEntity<?>
ruleCriterionModel, NorthIdEntity<?> model) {</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>if</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> (ruleCriterionModel == </span></font><b><font size=2
color="#7f0055" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#7F0055;font-weight:bold'>null</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>) {</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color="#3f7f5f" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>// no
criterion => matching ok</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>return</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>true</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>;</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
}</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;
font-weight:bold'>return</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> ruleCriterionModel.<span style='-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
background-attachment:scroll;background-position-x:0%;background-position-y:
0%'><span style='background:silver'>equals</span></span>(model);</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'> </span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'>}</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>I have read that eval is not performant but I
thought it was only when executing rules not at facts insertion phase.</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>Is this coorect or is eval impacting negatively
facts insertion ? </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>Another idea comes to my mind : can I use a
stateless session since once a deal is classified/booked we don’t want to
process it again ? </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>To finish I forgot to give informations on my
environment, it may be useful :</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>- Drools version 5.01</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>- java 6 </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>- launching my server with following memory
options : -Xms256m -Xmx1024m</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>Thanks again for your thought,</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>Joel</span></font><o:p></o:p></p>
<p><font size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>De :</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>]
<b><span style='font-weight:bold'>De la part de</span></b> Anstis, Michael (M.)<br>
<b><span style='font-weight:bold'>Envoyé :</span></b> vendredi 11
septembre 2009 10:35<br>
<b><span style='font-weight:bold'>À :</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Objet :</span></b> Re: [rules-users]
Memory error when inserting facts in stateful session</span></font><o:p></o:p></p>
</div>
<div>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:blue'>Hi,</span></font><o:p></o:p></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:blue'>As an aside, you shouldn't need to use a rule flow as the
rules themselves determine which RHS is activated. Could you consider using
"exists" instead of the "ArrayList( size == 1) from
collect..." - it looks like you're not too bothered which Booking Rule
matches as (I believe) you have no way to determine which is at index(0). Also,
what do your "matchXXX" functions do? Could you investigate removing
the "evals"?</span></font><o:p></o:p></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:blue'>I don't have any knowledge of your domain - we're all newbies
at some time or other.</span></font><o:p></o:p></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:blue'>With kind regards,</span></font><o:p></o:p></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:blue'>Mike</span></font><o:p></o:p></p>
<blockquote style='margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Costigliola Joel
(EXT)<br>
<b><span style='font-weight:bold'>Sent:</span></b> 11 September 2009 09:21<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> [rules-users] Memory
error when inserting facts in stateful session</span></font><o:p></o:p></p>
<div>
<div>
<p><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>Hello,</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>To be short I’m facing some performance/memory
problems with Drools which leads to the error : java.lang.OutOfMemoryError:
Java heap space.</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>That was for the short story, let me now give you more
details.</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>First, I’m a Drools newbie so I certainly have made
some “bad” choice.</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>I’m using Drools 5.01 to classify automatically the
deals made by the traders of my company (this is the functionnal problem I want
to solve with Drools).</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>I have written 4 rules, a rule-flow and start the deals
classifying process with a stateful session.</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>I have successfully (unit) tested different scenarios, so
everything is ok on a functionnal point of view.</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>Problems arise when I started to insert more deals in the
session, which leads to an OutOfMemoryError before the call to
ksession.fireAllRules. logs are below (after the drools rule).</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>Number of facts I have tried to insert in my statefull
session :</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana'>-</span></font><font size=1><span
lang=EN-GB style='font-size:7.0pt'>
</span></font><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>222 booking rule (POJO expressing classification criteria)
</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana'>-</span></font><font size=1><span
lang=EN-GB style='font-size:7.0pt'>
</span></font><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>750 product index </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana'>-</span></font><font size=1><span
lang=EN-GB style='font-size:7.0pt'>
</span></font><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>750 deals </span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>What drools does here is to find the correct booking rule
to apply for each deal (we need some product index for that).</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>Can you tell me if those numbers seems unrealistic ?</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>What can I do to avoid the memory errors ?</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>To be complete, I show you the drools rules :</span></font><o:p></o:p></p>
<p><b><font size=2 color="#960000" face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:#960000;font-weight:
bold'>rule</span></font></b><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'> </span></font><font
size=2 color=green face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:green'>"Find and apply level 1 booking
rule"</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>lock-on-active</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>true</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>ruleflow-group</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=2 color=green face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:green'>"Level
1 booking rule group"</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>when</span></font></b><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
dealModel : MarketDealModel( $dealPortfolio : portfolio, $dealTrader : trader,
$dealProduct : product)</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color=olive face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:olive'>// retrieve the
ProductRelatedIndexes corresponding to the deal product (only one by
product) </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
productRelatedIndexes : ProductRelatedIndexes( product.internalCode ==
$dealProduct.internalCode, $dealProductIndexes : relatedIndexes)</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color=olive face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:olive'>// try to find
one and only one level 1 matching rule (level 1 <=> all matching criteria
are defined).</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
bookingRuleModels : ArrayList( size == 1 ) </span></font><b><font size=2
color="#960000" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#960000;font-weight:bold'>from</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><b><font size=2
color="#960000" face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:#960000;font-weight:bold'>collect</span></font></b><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'> (</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
BTExecutionBookingRuleModel(</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
priority == BTExecutionBookingRuleModel.LEVEL_1</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
&& </span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>eval</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>(matchTraderCriterion(traderCriterion, $dealTrader))</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
&& </span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>eval</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>(matchPortfolioCriterion(portfolioCriterion, $dealPortfolio)) </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
&& </span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>eval</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>(matchIndexCriterion(listedIndexCriterion, $dealProductIndexes))</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
&& </span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>eval</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>(matchProductTypeCriterion(productTypeStringCriterion, $dealProduct))
</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
)</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
)</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>then</span></font></b><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
Logger log = LoggerFactory.getLogger(</span></font><font size=2 color=green
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:green'>"BOOKING RULE ENGINE LOGGER"</span></font><font size=2
color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>);</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color=olive face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:olive'>// get the
unique collected bookingRuleModel. </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
BTExecutionBookingRuleModel effectiveBookingRuleModel =
(BTExecutionBookingRuleModel) bookingRuleModels.get(0);</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><font size=2 color=olive face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:olive'>// <a
href="http://log.info" target="_blank">log.info</a>("Found matching level
1 booking rule --> " + effectiveBookingRuleModel);</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
effectiveBookingRuleModel.applyRuleOnDeal(dealModel);</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>
</span></font><b><font size=2 color="#960000" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#960000;
font-weight:bold'>retract</span></font></b><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>( dealModel ); </span></font><font size=2 color=olive
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:olive'>// only needed in use of stateful session to avoid processing this
deal again.</span></font><o:p></o:p></p>
<p><b><font size=2 color="#960000" face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New";color:#960000;font-weight:bold'>end</span></font></b><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>I don’t put the 3 others, they are basically the
same except the </span></font><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black'>priority
== BTExecutionBookingRuleModel.LEVEL_1 which is done against LEVEL_2, LEVEL_3
and LEVEL_4 rule.</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>Each rule is in his own ruleflow-group, it is very basic,
if first drools rule is not active then we try the second (with compares </span></font><font
size=2 color=black face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:black'>priority to BTExecutionBookingRuleModel.LEVEL_2).</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>I also put some logs showing that inserting deals fact
takes longer and longer : </span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>- the 222 booking rule are inserted in 16ms</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>- the 750 booking rule are inserted in 46ms</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>- the 750 facts are inserted at a pace of 5 by second,
then it starts to deteriorate to several seconds for one insert to finish with
the OutOfMemoryError.</span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:50 134 INFO [booking.impl.DealBookingProcessorImpl] 658
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11 09:46:50
244 INFO [booking.impl.DealBookingProcessorImpl] 659 MarketDealModel
inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:50 369 INFO [booking.impl.DealBookingProcessorImpl] 660
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:51 197 INFO [booking.impl.DealBookingProcessorImpl] 661
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:51 306 INFO [booking.impl.DealBookingProcessorImpl] 662
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:51 540 INFO [booking.impl.DealBookingProcessorImpl] 663
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:51 650 INFO [booking.impl.DealBookingProcessorImpl] 664
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:51 775 INFO [booking.impl.DealBookingProcessorImpl] 665
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:51 884 INFO [booking.impl.DealBookingProcessorImpl] 666
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:52 009 INFO [booking.impl.DealBookingProcessorImpl] 667
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:52 134 INFO [booking.impl.DealBookingProcessorImpl] 668
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:52 243 INFO [booking.impl.DealBookingProcessorImpl] 669
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:46:52 368 INFO [booking.impl.DealBookingProcessorImpl] 670
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:32 784 INFO [booking.impl.DealBookingProcessorImpl] 671
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11 09:47:33
003 INFO [booking.impl.DealBookingProcessorImpl] 672 MarketDealModel
inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:33 128 INFO [booking.impl.DealBookingProcessorImpl] 673
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:33 253 INFO [booking.impl.DealBookingProcessorImpl] 674
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:33 362 INFO [booking.impl.DealBookingProcessorImpl] 675
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:33 487 INFO [booking.impl.DealBookingProcessorImpl] 676
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:33 596 INFO [booking.impl.DealBookingProcessorImpl] 677
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:33 721 INFO [booking.impl.DealBookingProcessorImpl] 678
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:33 831 INFO [booking.impl.DealBookingProcessorImpl] 679
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:33 956 INFO [booking.impl.DealBookingProcessorImpl] 680
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:34 128 INFO [booking.impl.DealBookingProcessorImpl] 681
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:56 218 INFO [booking.impl.DealBookingProcessorImpl] 682
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:56 374 INFO [booking.impl.DealBookingProcessorImpl] 683
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:56 483 INFO [booking.impl.DealBookingProcessorImpl] 684
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11 09:47:56
608 INFO [booking.impl.DealBookingProcessorImpl] 685 MarketDealModel
inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:56 733 INFO [booking.impl.DealBookingProcessorImpl] 686
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:56 858 INFO [booking.impl.DealBookingProcessorImpl] 687
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:56 968 INFO [booking.impl.DealBookingProcessorImpl] 688
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:57 093 INFO [booking.impl.DealBookingProcessorImpl] 689
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:57 218 INFO [booking.impl.DealBookingProcessorImpl] 690
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:47:57 421 INFO [booking.impl.DealBookingProcessorImpl] 691
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:05 404 INFO [booking.impl.DealBookingProcessorImpl] 692
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:05 529 INFO [booking.impl.DealBookingProcessorImpl] 693
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:05 654 INFO [booking.impl.DealBookingProcessorImpl] 694
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:05 763 INFO [booking.impl.DealBookingProcessorImpl] 695
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:05 888 INFO [booking.impl.DealBookingProcessorImpl] 696
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:05 998 INFO [booking.impl.DealBookingProcessorImpl] 697
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11 09:48:06
123 INFO [booking.impl.DealBookingProcessorImpl] 698 MarketDealModel
inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:06 357 INFO [booking.impl.DealBookingProcessorImpl] 699
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11 09:48:14
184 INFO [booking.impl.DealBookingProcessorImpl] 700 MarketDealModel
inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:14 293 INFO [booking.impl.DealBookingProcessorImpl] 701
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:14 418 INFO [booking.impl.DealBookingProcessorImpl] 702
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:14 543 INFO [booking.impl.DealBookingProcessorImpl] 703
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:14 668 INFO [booking.impl.DealBookingProcessorImpl] 704
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:14 856 INFO [booking.impl.DealBookingProcessorImpl] 705
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11 09:48:22
761 INFO [booking.impl.DealBookingProcessorImpl] 706 MarketDealModel
inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:22 886 INFO [booking.impl.DealBookingProcessorImpl] 707
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:22 995 INFO [booking.impl.DealBookingProcessorImpl] 708
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:23 120 INFO [booking.impl.DealBookingProcessorImpl] 709
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:23 323 INFO [booking.impl.DealBookingProcessorImpl] 710
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:32 166 INFO [booking.impl.DealBookingProcessorImpl] 711
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:32 290 INFO [booking.impl.DealBookingProcessorImpl] 712
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:32 400 INFO [booking.impl.DealBookingProcessorImpl] 713
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:32 634 INFO [booking.impl.DealBookingProcessorImpl] 714
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:40 570 INFO [booking.impl.DealBookingProcessorImpl] 715
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:40 695 INFO [booking.impl.DealBookingProcessorImpl] 716
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:40 899 INFO [booking.impl.DealBookingProcessorImpl] 717
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:48 850 INFO [booking.impl.DealBookingProcessorImpl] 718
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11 09:48:48
975 INFO [booking.impl.DealBookingProcessorImpl] 719 MarketDealModel
inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:49 272 INFO [booking.impl.DealBookingProcessorImpl] 720
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:57 209 INFO [booking.impl.DealBookingProcessorImpl] 721
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:48:57 505 INFO [booking.impl.DealBookingProcessorImpl] 722
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:49:05 598 INFO [booking.impl.DealBookingProcessorImpl] 723
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:49:13 722 INFO [booking.impl.DealBookingProcessorImpl] 724
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:49:21 752 INFO [booking.impl.DealBookingProcessorImpl] 725
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:49:29 813 INFO [booking.impl.DealBookingProcessorImpl] 726
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:49:37 921 INFO [booking.impl.DealBookingProcessorImpl] 727
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:49:53 809 INFO [booking.impl.DealBookingProcessorImpl] 728
MarketDealModel inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=black face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:black'>2009-09-11
09:50:26 507 INFO [booking.impl.DealBookingProcessorImpl] 729 MarketDealModel
inserted in Drools session </span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'>Exception in thread
"Timer-0" java.lang.OutOfMemoryError: Java heap space</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
java.lang.Object.clone(</span></font><u><font size=2 color=navy
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:navy'>Native Method</span></font></u><font size=2 color=red
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
java.util.LinkedList.clone(</span></font><u><font size=2 color=navy
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:navy'>LinkedList.java:830</span></font></u><font size=2 color=red
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
com.mchange.v2.resourcepool.BasicResourcePool.cloneOfUnused(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>BasicResourcePool.java:1661</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
com.mchange.v2.resourcepool.BasicResourcePool.cullExpired(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>BasicResourcePool.java:1450</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
com.mchange.v2.resourcepool.BasicResourcePool.access$1900(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>BasicResourcePool.java:32</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>BasicResourcePool.java:1937</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
java.util.TimerThread.mainLoop(</span></font><u><font size=2 color=navy
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:navy'>Timer.java:512</span></font></u><font size=2 color=red
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
java.util.TimerThread.run(</span></font><u><font size=2 color=navy
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:navy'>Timer.java:462</span></font></u><font size=2 color=red
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'>Exception in thread
"Ice.ThreadPool.Server-1" java.lang.OutOfMemoryError: Java heap space</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.mvel2.integration.impl.ClassImportResolverFactory.<init>(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>ClassImportResolverFactory.java:49</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.mvel2.compiler.CompiledExpression.getValue(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>CompiledExpression.java:104</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.mvel2.MVEL.executeExpression(</span></font><u><font size=2 color=navy
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:navy'>MVEL.java:978</span></font></u><font size=2 color=red
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.base.mvel.MVELPredicateExpression.evaluate(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>MVELPredicateExpression.java:75</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.rule.PredicateConstraint.isAllowedCachedLeft(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>PredicateConstraint.java:295</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.common.SingleBetaConstraints.isAllowedCachedLeft(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>SingleBetaConstraints.java:138</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.reteoo.JoinNode.assertLeftTuple(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>JoinNode.java:114</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>CompositeLeftTupleSinkAdapter.java:145</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>CompositeLeftTupleSinkAdapter.java:57</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.reteoo.LeftInputAdapterNode.assertObject(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>LeftInputAdapterNode.java:142</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>SingleObjectSinkAdapter.java:42</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.reteoo.ObjectTypeNode.assertObject(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>ObjectTypeNode.java:185</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.reteoo.EntryPointNode.assertObject(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>EntryPointNode.java:146</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.common.AbstractWorkingMemory.insert(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>AbstractWorkingMemory.java:1046</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.common.AbstractWorkingMemory.insert(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>AbstractWorkingMemory.java:1001</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.common.AbstractWorkingMemory.insert(</span></font><u><font size=2
color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>AbstractWorkingMemory.java:788</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
org.drools.impl.StatefulKnowledgeSessionImpl.insert(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>StatefulKnowledgeSessionImpl.java:216</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:red'> at
north.stardust2.services.trading.booking.impl.DealBookingProcessorImpl.insertDealFacts(</span></font><u><font
size=2 color=navy face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:navy'>DealBookingProcessorImpl.java:200</span></font></u><font
size=2 color=red face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:red'>)</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>So to summarize my questions : </span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana'>-</span></font><font size=1><span
lang=EN-GB style='font-size:7.0pt'>
</span></font><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>how can I fix the facts insertion ?</span></font><o:p></o:p></p>
<p style='margin-left:36.0pt'><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana'>-</span></font><font size=1><span
lang=EN-GB style='font-size:7.0pt'>
</span></font><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>is there some newbie mistakes in my approach ?</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>Thanks in advance for your help,</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>Regards, </span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana'>Joël Costigliola</span></font><o:p></o:p></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
</div>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p><font size=2 color=black face="Times New Roman"><span style='font-size:10.0pt;
color:black'>Ce courriel et toutes les pièces jointes sont confidentiels et
peuvent être couverts par un privilège ou une protection légale. Il est établi
à l’attention exclusive de ses destinataires. Toute utilisation de ce
courriel non conforme à sa destination, toute diffusion ou toute publication,
totale ou partielle, est interdite, sauf autorisation expresse préalable.
Toutes opinions exprimées dans ce courriel ne sauraient nécessairement refléter
celle de Natixis, de ses filiales. Elles sont aussi susceptibles de
modification sans notification préalable. Si vous recevez ce courriel par
erreur, merci de le détruire et d’en avertir immédiatement
l’expéditeur. L’Internet ne permettant pas d’assurer
l’intégrité de ce courriel, Natixis décline toute responsabilité
s’il a été altéré, déformé ou falsifié et chaque destinataire qui utilise
ce mode de communication est supposé en accepter les risques.</span></font> <o:p></o:p></p>
</div>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p><font size=2 color=black face="Times New Roman"><span style='font-size:10.0pt;
color:black'>This email and any attachment are confidential and may be legally
privileged or otherwise protected from disclosure. It is intended only for the
stated addressee(s) and access to it by any other person(s) is unauthorised.
Any use, dissemination or disclosure not in accordance with its purpose, either
in whole or in part, is prohibited without our prior formal approval. Any
opinion expressed in this email may not necessarily reflect the opinion of
Natixis, its affiliates. It may also be subject to change without prior notice.
If you are not an addressee, you must not disclose, copy, circulate or in any
other way use or rely on the information contained in this email. If you have
received it in error, please inform us immediately and delete all copies. The
Internet can not guarantee the integrity of this email therefore Natixis shall
not be liable for the email if altered, changed or falsified and anyone who
communicates with us by e-mail is taken to accept these risks.</span></font> <o:p></o:p></p>
</div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>Ce courriel et toutes les pièces jointes
sont confidentiels et peuvent être couverts par un privilège ou une protection
légale. Il est établi à l’attention exclusive de ses destinataires. Toute
utilisation de ce courriel non conforme à sa destination, toute diffusion ou
toute publication, totale ou partielle, est interdite, sauf autorisation
expresse préalable. Toutes opinions exprimées dans ce courriel ne sauraient
nécessairement refléter celle de Natixis, de ses filiales. Elles sont aussi
susceptibles de modification sans notification préalable. Si vous recevez ce
courriel par erreur, merci de le détruire et d’en avertir immédiatement
l’expéditeur. L’Internet ne permettant pas d’assurer
l’intégrité de ce courriel, Natixis décline toute responsabilité
s’il a été altéré, déformé ou falsifié et chaque destinataire qui utilise
ce mode de communication est supposé en accepter les risques.</span></font> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>This email and any attachment are
confidential and may be legally privileged or otherwise protected from
disclosure. It is intended only for the stated addressee(s) and access to it by
any other person(s) is unauthorised. Any use, dissemination or disclosure not
in accordance with its purpose, either in whole or in part, is prohibited
without our prior formal approval. Any opinion expressed in this email may not
necessarily reflect the opinion of Natixis, its affiliates. It may also be
subject to change without prior notice. If you are not an addressee, you must
not disclose, copy, circulate or in any other way use or rely on the
information contained in this email. If you have received it in error, please
inform us immediately and delete all copies. The Internet can not guarantee the
integrity of this email therefore Natixis shall not be liable for the email if
altered, changed or falsified and anyone who communicates with us by e-mail is
taken to accept these risks.</span></font> <o:p></o:p></p>
</div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
</div>
</div>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><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><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</DIV>
<DIV>
</DIV>
<DIV>
<HR>
</DIV>
<DIV ALIGN="justify">
<FONT FACE="Arial" COLOR="gray" SIZE="1"><SPAN STYLE="FONT-SIZE: 12pt"><FONT FACE="Arial">
<FONT FACE="Times New Roman" COLOR="#000000" SIZE="3">
</FONT>
</FONT></SPAN></FONT> </DIV>
<DIV ALIGN="justify">
<FONT COLOR="gray"><SPAN STYLE="FONT-SIZE: 12pt"><FONT COLOR="#000000" SIZE="2">Ce courriel et toutes les pièces jointes sont confidentiels et peuvent être couverts par un privilège ou une protection légale. Il est établi à l’attention exclusive de ses destinataires. Toute utilisation de ce courriel non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse préalable. Toutes opinions exprimées dans ce courriel ne sauraient nécessairement refléter celle de Natixis, de ses filiales. Elles sont aussi susceptibles de modification sans notification préalable. Si vous recevez ce courriel par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. L’Internet ne permettant pas d’assurer l’intégrité de ce courriel, Natixis décline toute responsabilité s’il a été altéré, déformé ou falsifié et chaque destinataire qui utilise ce mode de communication est supposé en accepter les risques.</FONT></SPAN></FONT>
</DIV>
<DIV ALIGN="justify">
<FONT COLOR="gray"><SPAN STYLE="FONT-SIZE: 12pt"></SPAN></FONT> </DIV>
<DIV ALIGN="justify">
<FONT COLOR="gray"><SPAN STYLE="FONT-SIZE: 12pt"></SPAN></FONT>
<FONT COLOR="gray"><SPAN STYLE="FONT-SIZE: 12pt"><FONT COLOR="#000000" SIZE="2">This email and any attachment are confidential and may be legally privileged or otherwise protected from disclosure. It is intended only for the stated addressee(s) and access to it by any other person(s) is unauthorised. Any use, dissemination or disclosure not in accordance with its purpose, either in whole or in part, is prohibited without our prior formal approval. Any opinion expressed in this email may not necessarily reflect the opinion of Natixis, its affiliates. It may also be subject to change without prior notice. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this email. If you have received it in error, please inform us immediately and delete all copies. The Internet can not guarantee the integrity of this email therefore Natixis shall not be liable for the email if altered, changed or falsified and anyone who communicates with us by e-mail is taken to accept these risks.</FONT></SPAN></FONT>
</DIV>
<P CLASS="MsoNormal" ALIGN="justify">
<HR>
<P>
</P>
<P>
</P>
</P>
</DIV></BODY></HTML>