Title: Insufficient memory error
Last modified: August 21, 2016

---

# Insufficient memory error

 *  [cmac2992](https://wordpress.org/support/users/cmac2992/)
 * (@cmac2992)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/insufficient-memory-error/)
 * This plugin worked for about 80% of my pictures but there are a few that keep
   coming up with Error Insufficient memory (case 4). I don’t these pictures are
   any different than the others. Any help is appreciated.
 * Example:
 * “ERROR: /home1/cmac2992/public_html/villaestrellamar.com/wp-content/uploads/2013/
   08/the-spacious-junior-suite-bathroom.jpg (Insufficient memory (case 4) `/tmp/
   magick-PF7vgsIf’ @ error/jpeg.c/JPEGErrorHandler/316)”
 * [https://wordpress.org/plugins/imsanity/](https://wordpress.org/plugins/imsanity/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/insufficient-memory-error/#post-4657458)
 * Sounds like increasing the memory limit for PHP might help with the remaining
   20%. They’re probably just larger images and there isn’t enough memory allocated
   to PHP to process them.
 * By the way – what are you using to have images resized by ImageMagick instead
   of GD? I’ve been curious to hear how that works and/or how easy it is to set 
   up.
 *  [Webtaurus](https://wordpress.org/support/users/and_or/)
 * (@and_or)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/insufficient-memory-error/#post-4657598)
 * I started having the same error. For the first time now and on a server that 
   never has any problems. (minimal 128M defined)
    It occurs also with images that
   are only 300-400 KB
 * Oh Snap! Imsanity was unable to resize this image for the following reason: ‘
   Insufficient memory (case 4) `/home/users/site.xx/wp-content/uploads/2014/03/
   imagename-3-1280×585.jpg’ @ error/jpeg.c/JPEGErrorHandler/316′
 *  [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/insufficient-memory-error/#post-4657599)
 * It looks like ImageMagick may also have a memory limit configuration as well:
 * [http://sourceforge.net/apps/trac/gallery/ticket/1513](http://sourceforge.net/apps/trac/gallery/ticket/1513)
 * It’s not really an Imsanity issue per-se, it’s the image library being used under
   the hood is running out of memory. Hopefully that report above might have some
   clues as to why..?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Insufficient memory error’ is closed to new replies.

 * ![](https://ps.w.org/imsanity/assets/icon.svg?rev=2420360)
 * [Imsanity](https://wordpress.org/plugins/imsanity/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imsanity/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imsanity/)
 * [Active Topics](https://wordpress.org/support/plugin/imsanity/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imsanity/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imsanity/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Jason](https://wordpress.org/support/users/verysimple/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/insufficient-memory-error/#post-4657599)
 * Status: not resolved