Protect ourself to be killed by the OOM killer

Signed-off-by: Simon Busch <morphis@gravedo.de>