Bug 989613 - Check OOM of allocation writer in the SnapshotWriter. r=h4writer