I have been getting ImagickException with imagick on my server but cannot reproduce it on my computer(localhost).
This is when I try to call thumbnailImage(with, height, true) for a JPG
exception 'ImagickException' with message 'Memory allocation failed
/tmp/funYYmdPl' @ cache.c/AcquireCacheNexusPixels/416'
This is when I call writeImages(path, true) for a GIF
exception 'ImagickException' with message 'Memory allocation failed/home/funsub/public_html/uploads/gif/45/45544.gif' @ gif.c/WriteGIFImage/1605'
These are my specs:
ImageMagick 6.5.4-7 2012-05-07 Q16
imagick module version 3.0.1
I'm on VPS and have set disk usage and bandwidth for that cpanel to unlimited.
I've also tried increasing the php ram usage as well, the problem still occurs.
[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda3 72G 16G 54G 23% /
tmpfs 427M 0 427M 0% /dev/shm
/dev/vda1 195M 76M 110M 41% /boot
/usr/tmpDSK 622M 50M 541M 9% /tmp
Any ideas why?