Diskspace eater

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
superblood

Diskspace eater

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Diskspace eater

Post 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).
superblood

Re: Diskspace eater

Post by superblood »

I'm using it in php. To limit the maxium size i must use MagickSetResourceLimit ?
Thank u very much
superblood

Re: Diskspace eater

Post 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
Post Reply