Don’t crash when out of memory