If your computer freezes for running out of RAM, do not reset it by using the power or reset buttons on the case (or, even more savagely, unplugging it). You risk filesystem corruption and there is almost never a practical need to do so on Linux.
Even if your computer is utterly unresponsive due to an OOM event, you can still use the Magic SysRq button + REISUB to kill all procesess and reboot, which is a perfectly safe thing to do (except, of course, you’ll lose any unsaved data in the RAM, which is unavoidable).
I prefer this way of rebooting the system when I run out of RAM to any OOM killers, simply because it happens so exceptionally rarely. In fact, it never happened to me that I ran out of RAM to the point my computer froze, except when I intentionally did it to see what happens when I run out of RAM.
Constantly running a daemon just in case of such a rare event (which can be recovered from by safely rebooting the computer) seems wasteful of resources to me. But that is just a personal preference, of course.