Yes, as others said, patterns are created at compile time, and every time
a copy of your rulebase is deserialized. So, if you are seeing differences,
either the rulebases contain different rules, or one of them was
recompiled/deserialized/updated a different number of times compared to the
other
In that case, do you run multiple instances of the rules on each server? (i.e.
one stateless session in each thread to utilize multiple cores, etc.) That
would explain it, if the servers are running a different number of instances.
The only way compiled instances of rules could be different wou
The rules are not recompiled.
Sorry I do not have code to provide for the memory footprint, we use I3 to
get a snapshot of all java objects in memory from each server.
Thanks
Barry
Greg Barton wrote:
>
> Do you mean org.drools.rule.Pattern? If so, it is created when the rules
> are compiled
Do you mean org.drools.rule.Pattern? If so, it is created when the rules are
compiled, and with identical rulesets I'd expect you should have the same
number on each server. Edson or Mark would know if that's not the case.
Are your rules ever recompiled between runs?
Can you provide the cod
The implementation uses a stateless rules engine and the memory snapshots are
taken when the engines are idle. The Patterns object, I expect is just the
various condition and action nodes of each rule in the rulebase.
Thanks for your reply
Barry
Greg Barton wrote:
>
> They have the same rul
They have the same rules, but do they have the same data?
When you refer to "number of patterns" do you mean the number of matches
between rules and working memory objects? The increase of that number is
entirely dependent on the structure of your rules. Do they modify objects in
working memo
I am not quite sure whether I understand what you mean with patterns
but in the RETE meaning the number of nodes (=patterns) is tied to the
rulebase. If you don't change the rulebase...
If you see different numbers, please elaborate on your definition of
"pattern"
-- Ingomar
Am 03.03.200
Do the number of patterns in memory stabilize after the rulebase is created
or can transactions increase the number of patterns?
Reason I ask is I have 2 servers with the same rules loaded and one shows
3000 patterns in memory but the other only shows 2300.
Thanks
Barry
--
View this message in
Femke De Backere wrote:
Hi,
I encountered the following error, trying to insert a Split node in my
ruleflow.
[8,0]: [ERR 103] Line 8:0 no viable alternative at input 'testType' in
rule "RuleFlow-Split-masterproef.ruleflows.sedation-4-9"
[16,5]: [ERR 103] Line 16:5 no viable alternative at in
Thx! This code did the trick!!!
Femke
Op 3-mrt-09, om 16:46 heeft David Sinclair het volgende geschreven:
That is not a valid condition. I believe what u are trying to is this
Patient(type != 'Korte sedatie')
On Tue, Mar 3, 2009 at 10:36 AM, Femke De Backere
wrote:
Hi,
I encountered the
That is not a valid condition. I believe what u are trying to is this
Patient(type != 'Korte sedatie')
On Tue, Mar 3, 2009 at 10:36 AM, Femke De Backere wrote:
> Hi,
>
> I encountered the following error, trying to insert a Split node in my
> ruleflow.
>
> [8,0]: [ERR 103] Line 8:0 no viable al
Hi,
I encountered the following error, trying to insert a Split node in my
ruleflow.
[8,0]: [ERR 103] Line 8:0 no viable alternative at input 'testType' in
rule "RuleFlow-Split-masterproef.ruleflows.sedation-4-9"
[16,5]: [ERR 103] Line 16:5 no viable alternative at input 'testType'
in rul
The problem you are facing is that the Drools engine by default is a passive
component, meaning that you should tell it when to start executing. For
example, you usually want to insert all your data before executing the rules.
The same is also valid for timers: they don't just fire. But you c
http://www.jboss.org/drools/downloads.html
2009/3/3 Salem, Hesham (EXP)
> Where do I find drools-core.jar
>
> Hesham Salem
>
> Lockheed Martin UK Limited
>
> Simulation Training and Support
>
> Tel: +44(0) 1252 553408
>
> Fax: +44(0) 1252 553341
>
> 2nd Floor Chester House, Farnborough Aerospa
Salem, Hesham (EXP) wrote:
Where do I find drools-core.jar
http://repository.jboss.com/maven2/org/drools/drools-core/
Hesham Salem
Lockheed Martin UK Limited
Simulation Training and Support
Tel: +44(0) 1252 553408
Fax: +44(0) 1252 553341
2nd Floor Chester House, Farnborough Aerospace C
David Boaz wrote:
Hi all,
Im developing using drools version 5.0.0.M5. My application uses a stateless
session. I tried to assign an AgendaEventListener to the session, but failed
with a NPE.
This is my code structure:
KnowledgeBase kb =...;
StatelessKnowledgeSession session = kb.newStatelessKno
Where do I find drools-core.jar
Hesham Salem
Lockheed Martin UK Limited
Simulation Training and Support
Tel: +44(0) 1252 553408
Fax: +44(0) 1252 553341
2nd Floor Chester House, Farnborough Aerospace Centre
Farnborough, Hants, GU14 6TQ, UK
Email: hesham.sa...@lmco.com
___
Hi all,
Im developing using drools version 5.0.0.M5. My application uses a stateless
session. I tried to assign an AgendaEventListener to the session, but failed
with a NPE.
This is my code structure:
KnowledgeBase kb =...;
StatelessKnowledgeSession session = kb.newStatelessKnowledgeSession();
se
Thanks Edson,
Indeed my Quantity class implements Comparable, and the described problem
was mysteriously solved. So, the expression Person( height < $2m ) does
work. BTW, this feature is not documented in "drools-docs-expert.pdf".
David
Edson Tirelli-3 wrote:
>
>Just a comment:
>
> "There
19 matches
Mail list logo