This question already has an answer here:
I am getting the following error when image styles are being created on my Drupal 7.24 site:
mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 73834563 bytes) in modules/system/image.gd.inc on line 237"
My style is doing a scale and crop down to 300x200.
I know this could be a problem with my memory limit, which is currently 128M. As this is high, this doesn't seem like an issue.
Could it be from the use of the File (Field) Paths" module for my image names?