Memory leak?

siclark
Posts: 2355
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Memory leak?

Post 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 .
siclark
Posts: 2355
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Re: Memory leak?

Post 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()
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Memory leak?

Post 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.
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
Post Reply

Return to “iTravel”