I would try two different layouts and see what happens to memory usage. I
think the rules that use "in" will be faster than the standard matches
implementation.  

rule "1.in"
when
$c_0 : CFRO( fi.co in ("1","2","3","4","5"),  su.co == "P", c.co == "C")
then
Bcf fact = new Bcf ();
fact.setC( "123");
insert( fact);
end


rule "1.matches"
when
$c_0 : CFRO( fi.co matches "(1|2|3|4|5)",  su.co == "P", c.co == "C")
then
Bcf fact = new Bcf ();
fact.setC( "123");
insert( fact);
end



Regards,

Jared Davis
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Memory-Consumption-with-5000-Rules-tp2060449p2061395.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to