Try to detect OOM conditions even if they're wrapped in another exception (I'm looking at you, ActiveRecord).