Re: What are possible reasons for memory consumption ...

2018-07-08 Thread J. Landman Gay via use-livecode
On 7/8/18 12:06 PM, Mike Bonner via use-livecode wrote: Or alternatively, check the pendingmessages and only send if there is not already a message for the handler in question in queue. Like you, this is something I always do: if "myMsg" is not in the pendingMessages then send "myMsg" to me

Re: What are possible reasons for memory consumption ...

2018-07-08 Thread Mike Bonner via use-livecode
Or alternatively, check the pendingmessages and only send if there is not already a message for the handler in question in queue. I've had situations (in my case, bad coding) where I thought I was starting a looping handler once ,but had left a call to that handler elsewhere accidentally during

Re: What are possible reasons for memory consumption ...

2018-07-08 Thread Douglas Ruisaard via use-livecode
To help determine if Brian's suggestion is occurring, you could put the following line in your "self perpetuating" code (assuming you're not running the code on a Mobile device which have no "messsage box") just before the "send... in x time ": put the pendingmessages If you see ANY output,