Lockups/crashing with RPi 3 and ESPHome

Been running on a RPi 3 for a couple of months, and I frequently have lockups when trying to compile code in the ESPHome module. By frequently, I mean almost every time.

Is it too much to ask for a 1G RPi? I have a Synology NAS that I could host the Docker version on - would that be a better wat to go? Is there a way to troubleshoot this? I have tried removing and reinstalling ESPHome, still locks up.