Is there an existing issue for this?
Current Behavior
Since 2026.3 there is a memory leak, a workarround seams to be python 3.14.6 version.
Reference: home-assistant/core#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%
Is there an existing issue for this?
Current Behavior
Since 2026.3 there is a memory leak, a workarround seams to be python 3.14.6 version.
Reference: home-assistant/core#165953
Expected Behavior
No response
Steps To Reproduce
Environment
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: trueContainer logs
docker stats | grep home homeassistant 4.66% 1.283GiB / 6GiB 21.39%