Protect ourself to be killed by the OOM killer

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #61 from webOS-ports/morphis/work

Protect ourself to be killed by the OOM killer