What I really want in Linux is some way to kill apps when it gets low on memory and everything gets stuck. I know there is Magic SysRq Key - but I always forget about the keys and also it requires recompiling the kernel.
Using Magic SysRq keys shouldn't require recompiling the kernel. Magic SysRq is toggle-able and configurable via sysctl. If you're on Ubuntu, see /etc/sysctl.d/10-magic-sysrq.conf