Can't you sum up counts from multiple sessions? Remove the count from the session
before you dispose and keep that total count around until the end of the day.
Unless there's something complex you need to do with all of the Alarm facts at the end
of the 24 hour period there's no need to keep them around.
________________________________
From: mohan <mohan.narangoda(a)gmail.com>
To: rules-users(a)lists.jboss.org
Sent: Thursday, November 1, 2012 3:42 PM
Subject: Re: [rules-users] Best practice to use heap memory effectively
Hi Greg,
yes that's the way i'm doing right now. To keep this count hope we need to
maintain single session. So we can’t dispose session and by the time will we
end up with memory exhaust?
Thanks a lot.
--
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.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users