Page 1 of 1

Diskspace eater

Posted: 2009-11-03T09:45:39-07:00
by superblood
Hi,
i've a little problem with imageMagick, i'm using it with php and it create very big temporary files, for example:

-rw------- 1 apache apache 67004869280 23 ott 13:03 magick-XX5W1rFP
-rw------- 1 apache apache 67004869280 23 ott 13:07 magick-XX8H6L8T
-rw------- 1 apache apache 67004869280 23 ott 12:48 magick-XXB2UneP

I'm not be able to reproduce this error and i want to know if you can help me with your experience.
Thank you very much for your help.

Marco

P.S. Excuse me for my bad english!

Re: Diskspace eater

Posted: 2009-11-03T10:32:16-07:00
by magick
At some point you tried to read an image with large image dimensions, perhaps 10,000 pixels or more high and wide. ImageMagick will happily create such an image if you have enough temporary disk space. To avoid the problem in the future, limit the maximum image size with the -limit option (see http://www.imagemagick.org/script/comma ... .php#limit).

Re: Diskspace eater

Posted: 2009-11-05T04:49:36-07:00
by superblood
I'm using it in php. To limit the maxium size i must use MagickSetResourceLimit ?
Thank u very much

Re: Diskspace eater

Posted: 2009-11-12T07:17:25-07:00
by superblood
No one have a response for me?
I don't find a function for php and i have no permission to do an EXEC.
Can anyone help me?
Thank you