Answers.Body: <p>You're running out of PHP memory as it's processes the image when it's uploaded. The fix for this is to increase the memory limit, which you normally need to get your hosting company to do for you. Try 512mb.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-19T13:07:27.707Z
Answers.Text: Great :) I had the same issue on a client site a couple of weeks ago.
Answers.UserDisplayName: darylknight
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-16T22:20:25.173Z
Answers.LastActivityDate: 2015-07-16T22:20:25.173Z
Answers.UserDisplayName: darylknight
Body: <p>I tried to upload an image in the backend, but I always get the error: <code>Upload failed for 'image.jpg'</code>. In the logs is this: </p>
  
  <p><code>[16-Jul-2015 21:33:48 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4966029 bytes) in /var/www/virtual/conwave/html/service/cgk/craft/app/vendor/imagine/imagine/lib/Imagine/Image/Metadata/ExifMetadataReader.php on line 72</code></p>
  
  <p>Can anybody help me? I have no idea what the problem is.</p>
  
  <p>Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-16T21:59:55.733Z
Comments.Text: Check your `craft/storage/runtime/logs` files for `[error]` and see if anything useful is being logged.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-16T22:05:44.657Z
Comments.Text: Also, make sure you have the correct permissions set for that directory.
Comments.UserDisplayName: Damon
Tags: <assets>
Title: Upload failed for 'image.jpg'
ThreadText: # Upload failed for 'image.jpg'
  
  (Asked by: username_0 on 2015-07-16)
  
  I tried to upload an image in the backend, but I always get the error: `Upload failed for 'image.jpg'`. In the logs is this:
  
  `[16-Jul-2015 21:33:48 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4966029 bytes) in /var/www/virtual/conwave/html/service/cgk/craft/app/vendor/imagine/imagine/lib/Imagine/Image/Metadata/ExifMetadataReader.php on line 72`
  
  Can anybody help me? I have no idea what the problem is.
  
  Thanks!
  
  **Tags:** assets
  
  > **Comments:**
  > **username_1**: Check your `craft/storage/runtime/logs` files for `[error]` and see if anything useful is being logged.  
  > **username_2**: Also, make sure you have the correct permissions set for that directory.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2015-07-16. Score: 2 | Accepted answer
  
  You're running out of PHP memory as it's processes the image when it's uploaded. The fix for this is to increase the memory limit, which you normally need to get your hosting company to do for you. Try 512mb.
  
  > **Comments:**
  > **username_3**: Great :) I had the same issue on a client site a couple of weeks ago.  
  
  ---
  
  