Originally Posted by H_TeXMeX_H
I would try to disable swap, and use zcache (in staging drivers) instead. I've had lots of issues of this type and I think this helps. You may also want to try a different I/O scheduler, you can change them on a running system.
If the system hangs or crashes check /var/log/messages and syslog, and post anything unusual at the time of the crash.
I would like to correct what I said, zcache causes random hangs, so I can't recommend it or anything else from staging if you want stability.