On 11/10/2012, mohan <[email protected]> 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-space-tp4020185p4020206.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
