On 11/10/2012, mohan <mohan.narangoda(a)gmail.com> wrote:
Hi laune,
Assume we continuously getting vast number of facts or events from a stream
and we want to reasoning over particular time window (accumulate number of
events on this window) how we could achieve the same? Guess we cannot call
dispose() after fireAllRules().
Certainly not - you'd lose all facts.
If you need to keep some facts but have to avoid keeping them all
you'll have to devise some method that retracts facts whenever they
aren't useful any more.
Automatic retraction of events might be one way - see the Fusion
manual. OTOH, you might want to implement an explicit strategy for
deleting obsolete facts.
-W
--
View this message in context:
http://drools.46999.n3.nabble.com/java-lang-OutOfMemoryError-Java-heap-sp...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users