Sometimes Linux kernel is not able to kill memory consumers when memory reaches the critical level. I don't know why but I personally lived this situations couple of times and my computer couldn't stay stable so I had to restart it. That's why I implemented this.