Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2017-03-16 14:29:37

TheDoc
Member
Registered: 2015-10-18
Posts: 94

ImageMagick and Memory

Hi all,

while working on support for animated GIFs (http://piwigo.org/forum/viewtopic.php?id=27654) I have found a GIF that can't be converted.

Error output is

Code:

[2017-03-16 10:50:06]  [ERROR]  [image.class.php]  
  0: 'convert: memory allocation failed `/homepages/33/d23615136/htdocs/piwigo/_data/i/galleries/Test/FapTrailer8-animationToFro2-RGES-sq.gif' @ error/quantize.c/QuantizeImage/2743.'
  1: 'convert: memory allocation failed `/homepages/33/d23615136/htdocs/piwigo/_data/i/galleries/Test/FapTrailer8-animationToFro2-RGES-sq.gif' @ error/gif.c/WriteGIFImage/1648.'

indicating out of memory.

Since my phpinfo() tells me

Code:

Zend Memory Manager   enabled 
memory_limit  256M

I would have thought that I have enough memory to convert a 900kB GIF...

Any ideas where to start looking for a solution? Anything on the PHP side? Parametery to ImageMagick? Unfortunately, I have reached the end of my php & ImageMagick knowledge here...

Any help appreciated,
Thomas



Operating system: Linux
PHP: 5.6.30 (Show info) [2017-03-16 14:28:18]
MySQL: 5.5.54-0+deb7u2-log [2017-03-16 14:28:18]
Graphics Library: External ImageMagick 6.8.9-9
Piwigo URL: http://www.feuster.com/piwigo/picture?/ … y/786-test

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact