Rookie error -- I neglected to put the modify() in the RHS of a rule.
That'll make a big difference. :-)
--
View this message in context:
http://drools.46999.n3.nabble.com/Planner-IntConstraintOccurrence-not-being-retracted-tp4018672p4018710.html
Sent from the Drools: User forum mailing list
1) If you haven't already, enable environmentMode TRACE (or DEBUG if it
takes a while to occur),
that will check for statefull memory corruptions. If it runs ok with
that on, it's probably a user bug, otherwise it could be a drools bug.
2) What version of drools are you using?
3) Are you aware
I've been building a prototype similar to CloudBalancing.
I've got IntConstraintOccurrence objects being inserted via insertLogical()
through my rules.
For some reason, I don't think these are being retracted as expected -- the
count() of accumulated IntConstraintOccurrence's ramps up to 10x what