Out-of-memory situations raise exceptions instead of aborting