Fix situation where test case might bomb if not enough memory is available.