Looking online I see there is ways in config.yaml or some addon’s configuration to limit the amount of RAM they can use.
But does Home Assistant have a default limit to prevent itself from crashing?
I accidentally created a NodeRed flow which seems to overflow the RAM usage of my Raspberry Pi and then Home Assistant crashes completely.
The worst part is that I allowed NodeRed to start on boot and you can guess what happens again… whoops. (Was fixed by quickly disabling ‘start on boot’ as HA was loading and then starting NodeRed in safemode.)