I know the OOM killer is invoked when out of memory. And this answer here: https://askubuntu.com/questions/440326/how-can-i-turn-off-swap-permanently says that it can potentially cause a hard reboot.
I would like to confirm how accurate that answer is in addition to finding out how or why disabling the swap can cause hard reboots. Does anyone know?
The reason why I ask is I've been investigating reboots on a certain machine and I just realized the swap was disabled on this machine. Would like to confirm my theory of the lack of swap causing hard reboots but also a logical explanation for why this occurs.