If allocating fails, then graciously fail instead of crash.
Attach a file by drag & drop or click to upload