I am getting an 'out of memory' error message when I try to upload a file in WordPress. The file I'm trying to upload is an image ~1.6mb in file size and about 2500 x 2500 in dimensions. I'm using the Simple Local Avatars plugin to do the uploading. The plugin uses the WP function wp_handle_upload(). The specific error message I'm getting is:
Fatal error: Out of memory (allocated 84410368) (tried to allocate 9792 bytes) in wp-admin/includes/image-edit.php on line 339.
My aim is to pinpoint what exactly is 'out of memory'. Would this be my server out of memory? Or would this be the client? e.g. the user's browser? One thing I have noticed which might be important is that I can upload without problems if I use my laptop or iPad yet I always experience the error if I use my iPhone or my netbook.
I'd be grateful for any pointers you may have so that I can resolve the issue.