Here's a good article on what happens When Linux Runs Out of Memory. It goes deep into the ins and outs of OOM (out of memory) situations and exactly what is going on when say, you run your backups and mysqld gets killed by the "OOM-Killer". Not that I'm talking from personal experience, no, not at all :P