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] Creati custom Ui for Drools

2013-08-04 Thread Wolfgang Laun
Consult the section on templates in the Expert manual. -W On 05/08/2013, ashish6276 wrote: > Hi > >I need to build Custom UI where the user will insert all the parametres > required to write the rule. My question is How can i convert UI input in > drl > format. How should i save my UI inputs

[rules-users] Creati custom Ui for Drools

2013-08-04 Thread ashish6276
Hi I need to build Custom UI where the user will insert all the parametres required to write the rule. My question is How can i convert UI input in drl format. How should i save my UI inputs so that it can be easy in writing DRl. -- View this message in context: http://drools.46999.n3.nabbl

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] OptaPlanner: score corruption when using insertLogical with custom objects

2013-08-04 Thread pvandenbrink
You're welcome, good to hear that it's fixed already! -- View this message in context: http://drools.46999.n3.nabble.com/OptaPlanner-score-corruption-when-using-insertLogical-with-custom-objects-tp4024932p4025306.html Sent from the Drools: User forum mailing list archive at Nabble.com.

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

[rules-users] Guvnor assets storinf in DB as well as in Repository directory on file-system

2013-08-04 Thread 706826
I am facing the issue that, even when external RDBMS is configured in repository.xml, the "repository" directory is still created in the file system and its size is increasing. So when external RDBMS is configured then there shouldn't be anything created/written in FileSystem. All the data (except

Re: [rules-users] Testing for non-existance of an object in list

2013-08-04 Thread Joe Ammann
On 08/04/2013 10:05 AM, Wolfgang Laun wrote: > The rule is correct, and it works with similar scenarios.There may be > a bug, due to circumstances. Can you post a simple but complete set of > files to reproduce this? > You're perfectly right :-) The rule was correct, but as I wrote in an earlier po

Re: [rules-users] Guvnor seems to copy assets across External RDBMS and file system

2013-08-04 Thread 706826
Hi Tihomir, I am facing the issue that, even when external RDBMS is configured in repository.xml, the "repository" directory is still created in the file system and its size is increasing. So when external RDBMS is configured then there shouldn't be anything created/written in FileSystem. All the

Re: [rules-users] Testing for non-existance of an object in list

2013-08-04 Thread Wolfgang Laun
The rule is correct, and it works with similar scenarios.There may be a bug, due to circumstances. Can you post a simple but complete set of files to reproduce this? -W On 03/08/2013, Joe Ammann wrote: > Hi all > > I'm still struggling with the handling of lists and membership in the > LHS of ru

Re: [rules-users] Testing for non-existance of an object in list

2013-08-04 Thread Joe Ammann
Sorry, the actual error in my logic was totally unrelated to the fragment below. The problem was that the DQAttribute that should have matched below was inserted by another rule, but the insertion was done at a time when the checkViolations collection was still emtpy. And I had forgotten the modif