Memory out on Travis-CI?

When a build uses too much memory the OOM killer will get in rage and starts to kill processes.
It’s quite difficult to find the real problem, when the process is killed without any information about a reason.
If you want to identify memory issues, consider adding the following lines to your .travis.yml file.