Page 1 of 1

convert running machine out of memory

Posted: 2011-05-21T15:41:14-07:00
by tarsier123
I have a file, not an image, that when run through convert will eventually run the server out of memory and crash it.

It is a Centos 5.5 box with 24GB ram and 2GB of swap.

ImageMagick version 6.6.5-10 (from the ImageMagick site).

File contents are as follows ( I know this is not an image, but if by accident convert runs on an ascii file I don't expect it to eat up 26GB of memory ;-))

ImageMagick 6.2 from the Centos Repos works fine and says 'not a jpeg'.

------------------- begin file ----------------------------
vti_encoding:SR|utf8-nl
vti_author:SR|USAWEBSERVER\\ANITA
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_lastwidth:IX|205
vti_timecreated:TR|06 Feb 2003 19:10:32 -0500
vti_lastheight:IX|361
vti_filesize:IX|15082
vti_modifiedby:SR|USAWEBSERVER\\ANITA
vti_backlinkinfo:VX|
vti_cacheddtm:TX|19 May 2003 15:22:19 -0500
vti_cachedhasbots:BR|false
vti_nexttolasttimemodified:TW|08 May 2003 22:54:08 -0000
vti_extenderversion:SR|3.0.2.1105
vti_timelastmodified:TR|19 May 2003 15:22:19 -0500
------------------- end file contents --------------------------------------

Thanks for any insight into this.

Re: convert running machine out of memory

Posted: 2011-05-21T16:00:43-07:00
by magick
We have a patch in ImageMagick 6.7.0-0 Beta available by tomorrow to fix the problem you reported.