Compilation/install window freezes occasionally

I build my ESPHome devices from my HA instance on my Home Assistant Green, so it takes a while to build anything, even with a minor update. Occasionally (but not all the time), the window freezes (that is, nothing new appears in the build window). Looking at the CPU usage on HA, I know it’s still compiling. And I can retry the install later and it goes straight to installing as the build did complete.

Is this a known issue? Does anyone else have this issue?

Might be it is running out of resources (memory to work in). I’ve stopped certain apps when not needed to free up resources and then there usually no problems compiling and updating devices.

I don’t think that’s the case. Memory usage (as reported in HA stays significantly less than 50%). And like I said, the build continues to run in the “background”. I just can’t follow along in the web UI.

Have you tried setting the default compile process limit? This is the maximum number of simultaneous compile processes that ESPHome will run.

It’s found on the configuration tab of ESPHome builder in Settings | Apps. You may need to turn on “Show unused optional configuration options”

1 Like