r/homeassistant 1d ago

Personal Setup How much memory do you give to Home Assistant?

I have Home Assistant running on a Windows Hyper-v VM and was curious how much RAM everyone allocates to their Home Assistant?

I have dynamically allocated memory, but it reserves 10GB, and in the dashboard it just says it continuously uses 3.5GB. I can't use dynamic memory if I want to pass through my GPU though (for Whisper), so how much should I reserve for Home Assistant? My main computer has 32GB of ram, so I'm not trying to conserve as much as I can, but I do need as much as possible for video editing and such.

11 Upvotes

25 comments sorted by

17

u/PlanetaryUnion 1d ago

Like others I run mine on proxmox. I gave it 8GB, 2 cores and 256GB of storage just in case.

10

u/bz386 1d ago

I run HA on Proxmox and have 4GB allocated to it. It normally uses less than half of that, according to Settings > System > Hardware. I have Zigbee2MQTT, Music Assistant, ESPHome, Piper and Whisper addons installed.

4

u/griphon31 1d ago

I reserves 2 gigs, not a huge complex setup. It's 85% used. 3-4 is likely the right answer depending on setup complexity 

3

u/RealCarbonX 1d ago

When I did have mine, it was on my Pi with 4GB and worked fine. I'd do that atleast.

6

u/Magnus919 1d ago

2GB should be fine. 3 would be generous.

2

u/Wmdar 1d ago

My VM under Proxmox has two vcores and 4 gigs of ran. Never noticed any indication that wasn't enough.

1

u/falconindy 1d ago

2GB limit and currently at about 700MB utilized. Running in a container though, not a VM.

1

u/Trelino 19h ago

Why limit resources in a container?

1

u/falconindy 19h ago

Why wouldn't you? Resources aren't infinite. I run a Nomad cluster and so limits are used for:

  • Scheduling decisions -- figuring out how to appropriately spread load across available nodes
  • Limiting runaway behavior -- if a single container misbehaves, the container alone suffers and doesn't cause collateral damage to other well behaved processes.

1

u/MinimalLemonade 23h ago

Mine runs on an old Intel Nuc. Gave it 8GB Memory which is plenty.

1

u/SirGorn 22h ago

I've assigned 16GB but my max memory usage this month was as well 3.5GB - but average is much lower 2.5-3GB. I think 4GB should be enough, but I would assign 6-8GB "just in case"

1

u/sembee2 21h ago

Remember, it is still pushed as being compatible with the RPi, so something similar to the spec of a mid range Pi will be fine. Mine sits in 4gb with a 100gb disk and doesn't seem to be breaking a sweat. However, I dont run non HA addons like a lot of people. Frigate is separate, for example.

1

u/gordonportugal 19h ago

Hyperv 3GB ram

1

u/Fit-Agency-9105 18h ago

Rpi 4, 8gb ram and 250gb nvme, uses around 30% ram. never had issues with it. would not switch to a VM.

1

u/Fluff-Dragon 18h ago

Im using proxmox and allocated 16GB with ballooning and after 25 days uptime its using 12GB, rebooting it starts at 9GB

1

u/petersrin 18h ago

3G. Vm on pve. Could be 2G as it only uses 1.5 regularly, but better safe than slow.

1

u/jocke92 16h ago

3,8GB Running two cameras in frigate. And influxdb with grafana. System is usually using 65% of that ram so I could probably go with a bit less ram.

1

u/markymike93 15h ago

<1GB on RPi 3B 😇🍻

1

u/retsotrembla 11h ago

Confirmed: Same for me. I'm on a RPi 3B, and I'm using 0.5 GB RAM, and 4GB SSD on a 64GB µSD card, after more than one year. But I'm not doing anything with sound and video. I use the Terminal&SSH add-on to copy backups to another machine. A full backup .tar is 18 MB.

1

u/glhughes 9h ago

2 GB in my HAOS VM. Stats page in HA says it's taking 1.2 GB so I'm assuming that's fine. Have no problem upping it if needed (512 GB available) but doesn't seem to be.

What do you have running in HA that takes up so much RAM?

1

u/Competitive-Wafer445 20h ago edited 19h ago

My HA, bare metal on a HP630, 140 devices / 1k entities uses never more then 1.5 GB

2

u/nightshadow931 14h ago

Yet again people are providing 16gb of ram to HA 😂 My experience is about the same, RAM usage is around 1.5-1.7gb all the time

-4

u/Which_Cream2417 1d ago

I installed home assistant on my intel nuc with i5 11th generation and 16gb ddr4 ram, works great

0

u/h2ogeek 22h ago

1) Depends on how complex your setup is going to get.

2) Depends on the host OS. Mine runs HAIS in a VM so way less overhead than Windows. 2gb is more than enough. If you’re running it on Windows, good luck booting, if if you do, good luck using the system, with only 2gb.