<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Microsoft YaHei";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@Microsoft YaHei";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        mso-fareast-language:ZH-CN;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">That&#8217;s not a big rule, that is a tiny rule.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">So I&#8217;m still not sure what you are actually worrying about and why you think you may have an issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thomas<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b>On Behalf Of </b>WangRamon<br>
<b>Sent:</b> 12 December 2011 09:44<br>
<b>To:</b> rouvas@di.uoa.gr; rules-users@lists.jboss.org<br>
<b>Subject:</b> Re: [rules-users] Can Drools supply large Knowledge Base?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Microsoft YaHei&quot;,&quot;sans-serif&quot;">Hi Stathis<br>
&nbsp;<br>
You're probably right, maybe it's a wrong question, i'm new to Drools, so I copy the rule sample from user guide&nbsp;as below to better explain,&nbsp;that's what i need, but the rule will be automatically generated in the future..<br>
&nbsp;<br>
<br>
<o:p></o:p></span></p>
<pre>package com.company.license<o:p></o:p></pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>rule &quot;Is of valid age&quot;<o:p></o:p></pre>
<pre>when<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; $a : Applicant( age &lt; 18 )<o:p></o:p></pre>
<pre>then<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; $a.setValid( false );<o:p></o:p></pre>
<pre>end<o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Microsoft YaHei&quot;,&quot;sans-serif&quot;">&nbsp;<br>
So in the future the rule may include more and more&nbsp;conditions like below:<br>
&nbsp;<br>
<br>
<o:p></o:p></span></p>
<pre><o:p>&nbsp;</o:p></pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>rule &quot;Is of valid age2&quot;<o:p></o:p></pre>
<pre>when<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; $a : Applicant( age &gt; 18 and age &lt; 20 )<o:p></o:p></pre>
<pre>then<o:p></o:p></pre>
<pre>&nbsp;&nbsp;&nbsp; <o:p></o:p></pre>
<pre>...<o:p></o:p></pre>
<pre>end<o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Microsoft YaHei&quot;,&quot;sans-serif&quot;"><br>
So it may grow to be a very large rule(?), and this is actually my question: how to handle this big rule? Thanks you guys<br>
&nbsp;<br>
Cheers<br>
Ramon<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Microsoft YaHei&quot;,&quot;sans-serif&quot;">&gt; Date: Mon, 12 Dec 2011 11:33:10 &#43;0200<br>
&gt; From: <a href="mailto:rouvas@mm.di.uoa.gr">rouvas@mm.di.uoa.gr</a><br>
&gt; To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; Subject: Re: [rules-users] Can Drools supply large Knowledge Base?<br>
&gt; <br>
&gt; WangRamon wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi Guys I'm still confused about this question, let's say i may have a<br>
&gt; &gt; very large rule set, how can Drools support this case, will it load every<br>
&gt; &gt; rule into memory? Any idea? Thank you guys. CheersRamon<br>
&gt; <br>
&gt; You are either asking the wrong question or you do not understand what you<br>
&gt; are asking.<br>
&gt; <br>
&gt; In your previous post, you mentioned a Knowledge Base of 100GB.<br>
&gt; In this post you are talking about a rule set.<br>
&gt; These are different things.<br>
&gt; A Knowledge Base contains rules *and* facts and can indeed be quite large.<br>
&gt; A rule set contains only rules. For a rule set to grow this much, it means<br>
&gt; you have seriously misunderstand your problem. I would suggest you go back<br>
&gt; to the drawing board.<br>
&gt; <br>
&gt; Real-world example:<br>
&gt; Rule set of about 400 rules.<br>
&gt; Facts : In the order to 100.000.<br>
&gt; Command line execution shows an approximate 400MB RAM consumption, meaning<br>
&gt; with the JDK and all (not only Drools memory consumption).<br>
&gt; <br>
&gt; So, unless you want to hear from someone more experienced than me, I'd<br>
&gt; suggest you re-phrase your question by stating the exact problem you are<br>
&gt; facing or anticipating.<br>
&gt; <br>
&gt; Cheers,<br>
&gt; -Stathis<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; &gt; From: <a href="mailto:ramon_wang@hotmail.com">ramon_wang@hotmail.com</a>&gt; &amp;g t; To:
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt; Date: Thu, 8 Dec 2011 11:59:21 &#43;0800<br>
&gt; &gt; Subject: [rules-users] Can Drools supply large Knowledge Base?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Hi All<br>
&gt; &gt;<br>
&gt; &gt; I'm new to Drools, I will build a very large Knowledge Base, let's say it<br>
&gt; &gt; will be larger than 100GB, the files will be stored in a distribute<br>
&gt; &gt; database, so can Droools supply this large Knowledge Base? Any solution?<br>
&gt; &gt; Thank you very much.<br>
&gt; &gt;<br>
&gt; &gt; Cheers<br>
&gt; &gt; Ramon<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; rules-users mailing list<br>
&gt; &gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; rules-users mailing list<br>
&gt; &gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;<br>
&gt; <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">https://lists.jboss.org/mailman/listinfo/rules-users</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
**************************************************************************************<br>
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data
 may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.<br>
<br>
NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00<br>
**************************************************************************************<br>
</font>
</body>
</html>