[BUG] memory leak issue
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
Since 2026.3 there is a memory leak, a workarround seams to be python 3.14.6 version. Reference: https://github.com/home-assistant/core/issues/165953
Expected Behavior
No response
Steps To Reproduce
- on the environment
- run the container with version 2026.3 or greater
- wait 1 minute and the container will grow to multiple Gb of ram.
Environment
- OS: Ubuntu server 24.04
- How docker service was installed: distro's packagemanager
CPU architecture
x86-64
Docker creation
using docker-compose:
service:
homeassistant:
image: lscr.io/linuxserver/homeassistant:latest
container_name: homeassistant
mem_limit: 1g
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
cap_add:
- NET_ADMIN
- NET_RAW
volumes:
- ./config/:/config
- /etc/localtime:/etc/localtime:ro
- /var/run/udev:/run/udev
- /run/dbus:/run/dbus:ro
- /run/audio:/run/audio:ro
- /etc/machine-id:/etc/machine-id:ro
ports:
- 8123:8123 #optional
privileged: true
Container logs
docker stats | grep home
homeassistant 4.66% 1.283GiB / 6GiB 21.39%
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
https://github.com/linuxserver/docker-homeassistant/blob/main/package_versions.txt#L1700
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
This still happens.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.