Lost posts thread showing up for me. Posted here as this thread not showing to moderator. Not sure myself what attachment was being uploaded prior to problem.
It was a larger size version of the attachment showing in my previous post in this thread.
The attachment uploaded successfully. It was when the scripts tried to produce a thumbnail of it that we ran out of memory.