Restarting in middle of night and multiple failures to deploy

Yes, that will kill node-red.


searching the forum for "Reached heap limit"

searching the forum for "JavaScript heap out of memory"
https://discourse.nodered.org/search?q=JavaScript%20heap%20out%20of%20memory

Lots of reasons and lots of discussions, solutions and answers - start there.