mount
hassos: “16.0”
homeassistant: 2025.8.3
hostname: homeassistant
logging: info
machine: generic-x86-64
machine_id: c0844c2ef3da4f9d99c24f318a5bf032
operating_system: Home Assistant OS 16.0
state: running
supervisor: 2025.08.1
supported: true
supported_arch:
amd64
i386
timezone: Europe/London
Since early Aug, I started having issues where browser an app sessions start disconnecting after a few hours, up to a day of running. After a reboot it usually works for a while…
The console shows repeating errors like:
[dddd.ddddd] Out of memory: Killed process dddddd (Python3) …
[dddd.ddddd] Out of memory: Killed process dddddd (hass-configurat) …
And these repeat with variations of the ‘dddd’.
I also had a look at the dmesg logs and I see the following error that could be linked to the start of the troubles:
[91500.919267] Out of memory: Killed process 423636 (hass-configurat) total-vm:290432kB, anon-rss:272548kB, file-rss:68kB, shmem-rss:0kB, UID:0 pgtables:636kB oom_score_adj:200
Any suggestions of what could be causing it or where to look? I am not sure if the disk is too close to full. But are there temp files that I can remove?
Each update will typically add a little to the memory requirement.
It is not far back that RPi3 was removed from supported systems, because 1Gb had become impossible to run a basic setup with.
2 Gb is current the required value for a basic setup and if you want addons or bigger integrations, then 4Gb or more is recommended.
In addition to the above, you’re running a bunch of voice-related addons (Assist microphone, Whisper, Piper & openWakeWord). Even assuming you don’t have the errors above, I seriously doubt 4GB is enough to run voice.
Yes, every Addon page will show you how much CPU and RAM it’s using
Thanks, in the meantime I found Whisper was taking 40% CPU.
I switched that off and ha has stopped rebooting. It is also much more responsive.
The matter server was stopping at restart. I switched it off, since so far it all runs on zwave and zigbee. The inverter and battery system that I will soon plug in are Bluetooth I think.
It would be nice though if home assistant had a simple panel where we could see resource utilization, broken down by addon and integration if possible. Even finding when it had last rebooted was not out of the box…
Install System Monitor integration. This won’t give you a detailed breakdown, but at least it will give you a general overview of resources across your entire HA install.
Wait for tomorrow’s release. I don’t really follow the betas, but I seem to recall some improvements are going to be made in visualising resource consumption.
PS. You replied to your own post. If you intended to reply to me you need to hit the Reply button underneath my post so I’ll get a notification. I came across your reply just by coincidence as I was browsing the forums.
Thanks, I installed the latest release. I had the System Monitor integration running. Now I enabled common sensors like cpu.
90% cpu in use, managed to find one add-on needed restarting. Now 40% and none of the addons seem to be using much. Memory seems to be round 40%, with the 8Gb giving some plenty of room.
Is the CPU usage of the core monitorable, like for add-ons?
Considering the addons you’re running (and probably their respective integrations), that doesn’t sound too bad.
Yes. Go to Settings > Devices & services > Devices tab and search for “Home Assistant Core”. Click on the “device” & enable the disabled CPU & Memory sensors
WRT RAM you can add a 4GB minimum swap and HA will be just fine on even 1GB of memory. I added swap space even though I have a device that has 4GB RAM. Mainly because the Linux kernel uses swap to assist in its own memory maintenance. You should generally favor at least some swap space as a practice due to how modern Linux kernel utilizes it. Even in cloud systems.
I have been operating HA for a little over a year now and with its data stats collected from sensors it is taking up about 52GB of disk space.
I do not agree with this statement. I do agree it doesn’t need a ton. But a blanket 1g is fine is simply untrue… in my install… 2.5 g at a MINIMUM or I will crash within 40 min from memory pressure issues. I find this is driven by the number of entities in the state engine. (I have a ton.)
You can only swap out memory that is not used to a swap file/partition, and generally more swap than real memory is not advised, because you can end in a situation where you do not have space to swap it in again.
Starting out, I had no issues with 1GB and 4GB swap. I guess ymmv but I wouldn’t personally make the blanket statement that HA cannot run on lower end hardware as an intro to the smart home. It absolutely depends on how you use it. Like it’s not going to record your video feeds but it can definitely handle lights, doors, hydrometers and water leak sensors which IMO is over 90% of (if not all of) intro smart home owners’ needs. Everything else is hobbyists extras. In which case, sure migrate to new hardware as your needs grow.
I have a mix of z-wave and bluetooth (no BT relays) and formerly some wifi connected plugs but those have since been removed from my home.
Running this configuration when supervised was generally supported was easy and was my first hardware (basic debian, low spec hardware with swap).
If you’re running HAOS then you’re at the mercy of whatever HAOS is so pricier hardware is a requirement (pricier is relative ofc; a few hundred dollars is what I am calling pricier as opposed to less than $50 for hardware).
I even ran wireguard with it using a split VPN to maintain connectivity to home (but only routing DNS and connections directly to HA). Was not able to handle full VPN.
In this scenario:
Don’t use HACS
Minimize addons; like even now I only rely on 3 addons (5 if you count basic voice assistance which you wouldn’t use on 1GB RAM system anyways). And if I were to remove Adguard I could get it down to 2 addons minimum for my home.
Edit side note: I am currently running HA with 4GB RAM and 4GB swap I have 58 devices providing 510 entities running fine. Average 5% or less CPU usage and 1.5GB of memory usage overall in this config.
Thanks, managed to find the (final?) culprit: appdeamon taking 45% CPU while not doing anything, so now off. Core is now using up to 30% memory and 5% cpu, with spikes usually below 30%.
It may help folks if in future the cpu and memory sensors would be enabled by default…