Let's assume we need to calculate number of Alarm facts/events inserted into
WM over particular day. We will keep on adding facts throughout the day. If
this count greater than threshold let’s notify somebody. Also we will
retract facts/events which are older than 24 hours.
Can we handle this situation without single static StatefulKnowledgeSession?
Simply can we count number of facts/events in a WM in a particular time
using multiple session? So I can call session.dispose() after each
insertion.
--
View this message in context:
http://drools.46999.n3.nabble.com/Best-practice-to-use-heap-memory-effect...
Sent from the Drools: User forum mailing list archive at
Nabble.com.