Joe White wrote:
Can someone help me understand the relationship between the number of
Packages in a single RuleBase and PermGen memory consumption? I have a
test that generates 200 rules and then adds those rules as different
packages to a single rule base. PermGen consumption grows near
I have been evaluating the rule engine (ie Drools 4.0.4). I have created an
application which has about 20 rules . I insert about 500 arraylists into
the working memory and each arraylist contains about 4 objects. The rule
engine picks the object that is the best match from the arraylist and
Harsh Jetly wrote:
I have been evaluating the rule engine (ie Drools 4.0.4). I have created an
application which has about 20 rules . I insert about 500 arraylists into
the working memory and each arraylist contains about 4 objects. The rule
engine picks the object that is the best match from
Make sure when you do performance testing that you run through enough
iterations so that the engine code benefits from HotSpot.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harsh Jetly
Sent: 13 August 2008 11:03
To: rules-users@lists.jboss.org
Why not add your ArrayList items individually into WM?
rule P1 110
salience 1
activation-group 1
when
PriorityType( pricetype == 10,20,30,40,110 )
t:TlbObjectAttributeData( lngAttrTypeId == 110 )
then
result.add(t);
end
Would this not give
Corneil du Plessis wrote:
Make sure when you do performance testing that you run through enough
iterations so that the engine code benefits from HotSpot.
Something to be aware of is that there are still many optimsation we can
do to Drools. One of them is to take our interpretted Rete
While it's always important to keep an eye on performance while writing
code, the things that really cost money are stability and maintainability.
You write your software so it's easy to maintain and reliable and next week
someone will build a faster processor to run it on.
-Original
What does this mean? Because of garbage collection?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Corneil du Plessis
Sent: Wednesday, August 13, 2008 5:42 AM
To: 'Rules Users List'
Subject: RE: [rules-users] Java code Vs Drools
Make sure when you do
Sorry, I should have said for business software. Systems software requires a
lot more performance tuning.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hehl, Thomas
Sent: Wednesday, August 13, 2008 7:46 AM
To: 'Rules Users List'
Subject: RE:
No HotSpot refers to the portion of the JVM that compiles java bytecode to
native code and applies various optimisations over time depending on the
frequency with which code is executed.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hehl, Thomas
Sent:
Right, including optimization controls over garbage collection.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Corneil du Plessis
Sent: Wednesday, August 13, 2008 8:50 AM
To: 'Rules Users List'
Subject: RE: [rules-users] Java code Vs Drools
No HotSpot
Hello list,
I have a rule that generally speaking looks like this :
rule ABC
when
$f : FilteringStateConnector($campaignId : campaignId)
$campaign : Campaign(code == $campaignId
,$limitTypeEnum : limitTypeEnum, $limitByEventType :
limitByEventType)
// Check Budget limit
Mark, thank you very much for your help, it is greatly appreciated.
There are improvements we can make to generated code into a single
class and use a switch statement to invoke the correct part, but we
don't have time for that right now, so would need to come from the
community.
I would
Hi all,
I would appreciate some advice on how to best use Drools and how to
write rules in my situation. I am new to Drools so my following
descriptions might not be very accurate or clear.
I will be writing rules that compare SNOMED terminology expressions
against similar expressions in
14 matches
Mail list logo