<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> <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 as below to better explain, that's what i need, but the rule will be automatically generated in the future..<BR> <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 < 18 )
then
$a.setValid( false );
end</a></pre> <BR>So in the future the rule may include more and more conditions like below:<BR> <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 > 18 and age < 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> <BR>Cheers<BR>Ramon<BR><div>> Date: Mon, 12 Dec 2011 11:33:10 +0200<br>> From: rouvas@mm.di.uoa.gr<br>> To: rules-users@lists.jboss.org<br>> Subject: Re: [rules-users] Can Drools supply large Knowledge Base?<br>> <br>> WangRamon wrote:<br>> ><br>> > Hi Guys I'm still confused about this question, let's say i may have a<br>> > very large rule set, how can Drools support this case, will it load every<br>> > rule into memory? Any idea? Thank you guys. CheersRamon<br>> <br>> You are either asking the wrong question or you do not understand what you<br>> are asking.<br>> <br>> In your previous post, you mentioned a Knowledge Base of 100GB.<br>> In this post you are talking about a rule set.<br>> These are different things.<br>> A Knowledge Base contains rules *and* facts and can indeed be quite large.<br>> A rule set contains only rules. For a rule set to grow this much, it means<br>> you have seriously misunderstand your problem. I would suggest you go back<br>> to the drawing board.<br>> <br>> Real-world example:<br>> Rule set of about 400 rules.<br>> Facts : In the order to 100.000.<br>> Command line execution shows an approximate 400MB RAM consumption, meaning<br>> with the JDK and all (not only Drools memory consumption).<br>> <br>> So, unless you want to hear from someone more experienced than me, I'd<br>> suggest you re-phrase your question by stating the exact problem you are<br>> facing or anticipating.<br>> <br>> Cheers,<br>> -Stathis<br>> <br>> <br>> <br>> > From: ramon_wang@hotmail.com<br>> &g
t; To: rules-users@lists.jboss.org<br>> > Date: Thu, 8 Dec 2011 11:59:21 +0800<br>> > Subject: [rules-users] Can Drools supply large Knowledge Base?<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > Hi All<br>> ><br>> > I'm new to Drools, I will build a very large Knowledge Base, let's say it<br>> > will be larger than 100GB, the files will be stored in a distribute<br>> > database, so can Droools supply this large Knowledge Base? Any solution?<br>> > Thank you very much.<br>> ><br>> > Cheers<br>> > Ramon<br>> ><br>> ><br>> > _______________________________________________<br>> > rules-users mailing list<br>> > rules-users@lists.jboss.org<br>> > https://lists.jboss.org/mailman/listinfo/rules-users<br>> > _______________________________________________<br>> > rules-users mailing list<br>> > rules-users@lists.jboss.org<br>> > https://lists.jboss.org/mailman/listinfo/rules-users<br>> ><br>> <br>> <br>> _______________________________________________<br>> rules-users mailing list<br>> rules-users@lists.jboss.org<br>> https://lists.jboss.org/mailman/listinfo/rules-users<br></div>                                            </div></body>
</html>