Memory full

Since a few weeks I have some strange issues that random occurs. Sometimes the Philips Hue app and Eufy app are not working.
A restart of the apps fixed the issue.
When investigating these issues I saw the memory status as showed in the screenshot. Disk usage is unable to see because the app is loading for a very long time and doesn’t show any information.

Is the memory usage an issue and can this causes instability of apps?

1 Like

it could, specially if it is about responsiveness of Homey and “Heavy” apps.

But it should start swapping afaik, although that wouldn’t even make respons better.

Can you look at the WebApp in a browser, as that provides a slight different view.

Thx @Dijker
This is the web app result.

Is it still possible to make a backup with this memory values?

Yeah it looks like the backups works well.

Homey Pro 2016-2019 is compleet different architecture and has no memory issues for backup.
Only needs relative lot of freespace to finish backups. More then ~ 510MB for me if I remember

For now I’m gonna remove some apps to get a bit more memory available.
Otherwise I think I have to consider to upgrade to the new Homey Pro (early 2023) :face_with_raised_eyebrow:

1 Like

I run into the same issue after the dashboard feature was introduced some weeks ago. For me the matter integration for other bridges stopped working and flows with time trigger won’t work. So I’d to remove some apps and redesigned my advanced flows to work without it. Now it runs stable for some weeks.

Thank you. I did the same earlier today.

I can not make any backup of my HP 2019.
I only get errors.
When i try it about 20 minutes after a restart it also does not work.

Two options,

  1. Remove Apps that you don’t use to get some more freespace on storage.
  2. Try a Full Firmware download and after that try to create a backup

Note: there is a rate limit of ~5 times to create backups within a day. Successful or not. ;-(

Thanks.
I will give it another try.
I thought that 537MB should be enough of free storage but maybe not.
Will try to remove some app’s

If it is not working i try a firmware backup.

Just to be sure. When removing an app, all the flows are broken but they will still be in Homey?
And after a re-install of the app i only have to add the devices and repair the flows. With or without the app from Martijn?

edit: flows are still there.

Whatsapp takes quite some space, Mike. You’d remove it to see if the backup temp file has enough free space.

That’s a logical assumption, however, the partition used for the temporary backup file is quite small apparently.
For example, when I change the language, the size of “Speech” (Spraak) grows with ~150MB.
After that, backups fail with the same error ENOSPC.
Removing the ‘old’ language voice solves it.

(I’m a Pro 2019 user as well)

@Peter_Kawa Thanks. I will try to remove whatsapp and maybe some other apps what is easy to repair.
But i first tried to run a script that will get all the ID’s of all the devices. I don’t use it that much.
But i have a old API it says so it will not run.
I first will try to fix that, somehow.

Ah, I didn’t realise WhatsApp had a device.
Maybe you can remove a few other apps which use about 60 to 80MB in total.

Last week I had several backup fails.
It turned out to be an app with huge logfiles (I have to purge those more often as I discovered :face_with_peeking_eye:).

To find the ID’s, here’s a working script if you need it:

const devices = await Homey.devices.getDevices();
console.log(`\nDevices overview`);
  for (const device of Object.values(devices)) {  
    console.log(`\nName:\t\t ${device.name} \nID:\t\t ${device.id}`);
  };
return(true);

Thanks for the script.
I had one but Homey said that the API was depreciated and that i was using an old API version.
But that still works so i have all the ID’s copy paste to a txt file.

Only now Homey can not show any memory or diskspace. “Network request error”.
I will restart Homey when i go to bed and see what happens tomorow.

1 Like

Same (or at least similar) issue here, on a 2023 model. Every now and then the memory appears to be full (1.9 out of 2.0) disabling apps (i do not have an issue with backups though) which I notice in flows not working. For me a reboot of the Homey solves the issue as this apparently frees memory which was blocked earlier. After having done the reboot the memory is back at the correct 1.4 state.
I do not have whats app-app installed.

Just sharing this as this might support in finding a solution. I have not tried the suggested Full Firmware download yet

You might want to try the currently released firmware RC:

See the full changelog here.

As always with experimental updates, at own rosk of course and you have to enable experimental updates first at Homey’s developer site: