Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-05 Thread Wolfgang Laun
On 05/08/2013, Joe Ammann wrote: > But what would be a good example where I would use clear() on the Agenda > ? Can't really think of one, but maybe I still did not understand the > concept fully... It is some sort of "cut". You might use it when you have found one solution and aren't interested

Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-05 Thread Joe Ammann
On 08/05/2013 09:04 AM, Wolfgang Laun wrote: > Fine. Although occasionally useful, "from " is often used > as a cover-up for inadequate design of fact types. (from > collect/accumulate is a different matter.) That was exactly the case before we found out how to make fact types "more rule friendly"

Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-05 Thread Wolfgang Laun
Grüezi Joe, On 05/08/2013, Joe Ammann wrote: > On 08/05/2013 06:29 AM, Wolfgang Laun wrote: > > That's one thing I already learnt :-) I'm not using any "from" clauses > in my rule sets which are used against the "big" fact sets. > Fine. Although occasionally useful, "from " is often used as a c

Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-04 Thread Joe Ammann
On 08/05/2013 06:29 AM, Wolfgang Laun wrote: > Guete Morge Joe, :-) Guete Morge Wolfgang > > from that other thread I can recall that you are using "from > ", which (not knowing the rest) would be high up on my > suspect list. That's one thing I already learnt :-) I'm not using any "from" clauses i

Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-04 Thread Wolfgang Laun
Guete Morge Joe, from that other thread I can recall that you are using "from ", which (not knowing the rest) would be high up on my suspect list. And, in order to learn more, some monitoring should be considered. The number of activation creations and deletions (not by firing) can indicate waste

Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-04 Thread Joe Ammann
Hi Wolfgang On 08/04/2013 03:10 PM, Wolfgang Laun wrote: > A simple test shows that, with the rules as shown, you can insert 100k > Assignments and an equal number of SourceAssignments (with ~300 > InstrumentList facts) in a matter of seconds, irrespective of the > number of hits and misses, eith

Re: [rules-users] Rule set execution performance and memory consumption issues

2013-08-04 Thread Wolfgang Laun
A simple test shows that, with the rules as shown, you can insert 100k Assignments and an equal number of SourceAssignments (with ~300 InstrumentList facts) in a matter of seconds, irrespective of the number of hits and misses, either way. I suspect that there is some other fly in the ointment. T

[rules-users] Rule set execution performance and memory consumption issues

2013-08-04 Thread Joe Ammann
Hi all (sorry for the lenghty post, I'm trying to describe a basic pattern) I have a set of similar rules which work ok, but due to increasing number of facts are starting to create performance headaches. They all share a basic pattern, and I wanted to ask if you think that my approach is feasible