Memory question active program

Mike Bonner bonnmike at gmail.com
Wed Apr 29 18:03:52 EDT 2015


My guess would be that windows is swapping it out.  The fix might be as
simple as a send in time loop.  Have it do some little bit of nothing every
few minutes.  (For all I know, just having the send in time refresh itself
might be enough)
If its the revspeak portion that is causing the issue, i'm not sure how to
keep it from being swapped out, but there's probably a way.

On Wed, Apr 29, 2015 at 10:11 AM, Bill Vlahos <bvlahos at mac.com> wrote:

> I have an app which logs phone calls. It receives command line input from
> the phone using an on relaunch handler and updates the log display with
> time, date and caller name and also does a revSpeak command to announce the
> caller.
>
> My app works fine when launched but after some time idling there is a long
> delay (5 or more seconds) for it to respond. If it gets another command
> from the program soon it responds right away.
>
> I’m guessing something is loaded into RAM when it works quickly. After a
> while it is unloaded from RAM or cached and then has to reload which causes
> the delay.
>
> I don’t know if LiveCode is doing this or the Windows 7 PC (64bit) is. The
> PC has 8 GB RAM.
>
> I suspect it is the PC memory management that is doing this as LiveCode
> loads everything in RAM.
>
> Is there a way for me to test what is causing this?
>
> Is there a way to prevent this?
>
> Thanks,
> Bill Vlahos
> _________________
> InfoWallet (http://www.infowallet.com) is about keeping your important
> life information with you, accessible, and secure.
> lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
> RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61)
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list