<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Can't you sum up counts from multiple sessions? &nbsp;Remove the count from the session before you dispose and keep that total count around until the end of the day.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">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.</div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> mohan
 &lt;mohan.narangoda@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> rules-users@lists.jboss.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, November 1, 2012 3:42 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [rules-users] Best practice to use heap memory effectively<br> </font> </div> <br>
Hi Greg,<br><br>yes that's the way i'm doing right now. To keep this count hope we need to<br>maintain single session. So we can’t dispose session and by the time will we<br>end up with memory exhaust?<br><br>Thanks a lot.<br><br><br><br>--<br>View this message in context: http://drools.46999.n3.nabble.com/Best-practice-to-use-heap-memory-effectively-tp4020194p4020659.html<br>Sent from the Drools: User forum mailing list archive at <a target="_blank" href="http://nabble.com/">Nabble.com</a>.<br><br>_______________________________________________<br>rules-users mailing list<br><a ymailto="mailto:rules-users@lists.jboss.org" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br><br> </div> </div>  </div></body></html>