Page 1 of 1

Memory leak?

PostPosted: Mon Feb 05, 2018 7:12 am
by siclark
Hi Mark,
I have noticed a few times recently that my mac has been getting locked up with lack of memory, and it seems to be the process for iTravel. I have just found it using 1.4Gb of RAM, but when I restarted it, it fell to 50Mb which seems much more sensible.
I'm hoping you are all mended now and free to help.

Thanks
Simon .

Re: Memory leak?

PostPosted: Wed Feb 07, 2018 8:45 am
by siclark
For now I have setup a schedule to run this script 00:05 every day, which hopefully should prevent this locking up my system again.

plugin = indigo.server.getPlugin("com.corporatechameleon.nationalRail")
if plugin.isEnabled():
plugin.restart()

Re: Memory leak?

PostPosted: Wed Feb 07, 2018 10:59 am
by Colorado4Wheeler
That's the best way to handle that. There are so much that the plugins do and so many places where memory leaks can come in when dealing with outside data that it can be challenging to find and cap those leaks - I know, I've got one I've been trying to cap.