<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
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><pre xmlns="" xmlns:d="http://docbook.org/ns/docbook" xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory"><a id="d0e254">package com.company.license

rule "Is of valid age"
when
    $a : Applicant( age &lt; 18 )
then
    $a.setValid( false );
end</a></pre>&nbsp;<BR>So in the future the rule may include more and more&nbsp;conditions like below:<BR>&nbsp;<BR><pre xmlns="" xmlns:d="http://docbook.org/ns/docbook" xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory"><a id="d0e254">

rule "Is of valid age2"
when
    $a : Applicant( age &gt; 18 and age &lt; 20 )
then
    </a></pre><pre xmlns="" xmlns:d="http://docbook.org/ns/docbook" xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory">...</pre><pre xmlns="" xmlns:d="http://docbook.org/ns/docbook" xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory">end</pre><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<BR><div>&gt; Date: Mon, 12 Dec 2011 11:33:10 +0200<br>&gt; From: rouvas@mm.di.uoa.gr<br>&gt; To: rules-users@lists.jboss.org<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: ramon_wang@hotmail.com<br>&gt; &g
t; To: rules-users@lists.jboss.org<br>&gt; &gt; Date: Thu, 8 Dec 2011 11:59:21 +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; rules-users@lists.jboss.org<br>&gt; &gt; https://lists.jboss.org/mailman/listinfo/rules-users<br>&gt; &gt; _______________________________________________<br>&gt; &gt; rules-users mailing list<br>&gt; &gt; rules-users@lists.jboss.org<br>&gt; &gt; https://lists.jboss.org/mailman/listinfo/rules-users<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; rules-users mailing list<br>&gt; rules-users@lists.jboss.org<br>&gt; https://lists.jboss.org/mailman/listinfo/rules-users<br></div>                                               </div></body>
</html>