You have received other suggestions as well, but we haven't seen
any reason from your side why these won't work.
I think that this is still the problem of sending an SMS to an address
which calls from a certain cell, if there are one or more messages
defined for that cell, and not send another one for the same address
and cell before 24 hours are elapsed.
Once again, you'll need to keep track of the "first call", storing
an object FirstCall with caller's address, cell, message id and
(system) time and
rules to
* discard calls when there is a matching object FirstCall not older
than 24hrs,
* discard FirstCall if is older than 24hrs
* create such an object FirstCall if it doesn't exist and send the message,
-W
On 12/11/2012, Mark Proctor <mproctor(a)codehaus.org> wrote:
It sounds like you are putting in facts without allowing them to be
expired
or retracted. If you keep inserting events over 24 hours, if there is enough
of them, it will OOM. Try setting an expiration value for the event type, to
force it to expire earlier.
Mark
On 12 Nov 2012, at 05:20, mohan <mohan.narangoda(a)gmail.com> wrote:
> Hi Gurus,
>
> any ideas & views on above??
>
>
>
> --
> 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
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users