[App][Pro] Zone Activity

Apologies for the delayed response. I still plan to support the app, but I’ve been tied up with personal matters and haven’t had the chance to actively review reported issues or crashes. I expect to have more time later this month once some home renovations are completed, and I’ll make sure to look into it then. Thanks for your patience!

Hi @Erikvl87,

I’m using your app too. With Homey 12.4.3 and app version 2.0.0 I found a high memory consumption for your app:
image

I defined only 4 virtual devices with your app. But the app ist a top consumer for memory in Homey. Maybe you have an idea, why this happen.

Greetings,
David

Hi @dferch, the amount of (virtual) devices will probably not impact memory consumption significantly.

The main culprit is probably (I need to verify this) the build-in cache of all zones (and its metadata). This is used to increase performance, with unfortunately a (maybe to significant) memory penalty. The app condition cards need to be able to quickly get zone information, hence this is all cached into memory.

I’ll test some ideas that I have to bring down the memory footprint.

1 Like