See awslabs#88 : we should be able to simulate these failures by setting ulimit/setrlimit memory limits artificially low.