RAM (Memory) full... And now?

memory-homey
So, is this a concern? Do I have to remove devices if I want to add another one? Or will Homey manage the memory use a swap file or something?

If you press on the rainbow graph, you’ll get an overview which apps the colors represent, which should provide a clue which app(s) are using up the memory. If it’s a concern or not depends on whether or not you’re noticing any performance issues.

I don’t think Homey uses a swapfile, not would it make a lot of difference because swapping still kills performance.

Same subject, sort of…

With 512MB RAM, every free MB counts. Buying a Pro at the moment is not an option by the way😌

Sometimes, just by checking every now and then, I discover Homey uses a fairly big amount of RAM:

I don’t like to do it, but restarting Homey brings RAM usage to a reasonable level, a whopping 150MB’s less:


Now it looks like I can add a few more apps.

Is there a way to trigger a flow (or script) when Homey RAM uses more than xxxMB’s?
I really don’t like to restart Homey every x days “just to be sure”.

Many thanks in advance.

Another script :wink:

It offers flow tags for memory usage. You can start a flow every hour and check the value and restart Homey if necessary.

1 Like

https://www.linuxatemyram.com/

1 Like

Thanks a million Ronny! Works like a charm.

@djesko Niklas, thanks! That article explains a lot.
If I understand it correctly, I (of course) don’t need to restart Homey, but I just have around 90MB extra RAM for additional apps.
Because Homey RAM usage is back at 230MB already now, while being at 136MB’s right after boot earlier tonight.
Right?

Interesting things with the script.
So, Homey’s RAM usage seems 2 b dynamic. It was just the moment I took a look at the RAM tab appearantly