Package: php5-imagick Version: 3.0.0~rc1-1 Severity: normal
No matter how big I set the memory limit to, imagick still keeps processing the image through a file on the disk. Here is my php code: $img = new Imagick(); $img->setResourceLimit(imagick::RESOURCETYPE_MEMORY, 1024*1024*1024); # i know this is stupid, but even 0, or 100, or 1024 don't work. $img->readImage($tempfile); here is a strace: open("/tmp/magick-XXtLR7h2", O_RDWR|O_CREAT|O_EXCL, 0600) = 5 fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 brk(0x2797000) = 0x2797000 read(4, "\377\330\377\340\0\20JFIF\0\1\1\0\0\1\0\1\0\0\377\333\0C\0\1\1\1\1\1\1\1"..., 245760) = 245760 read(4, "\274\237\323\357\205d\270\273\271`\312\320\35\f\224\272\207X\273\260>\234\0179c\366\254&*\223L\363"..., 4096) = 4096 write(5, "\377\330\377\340\0\20JFIF\0\1\1\0\0\1\0\1\0\0\377\333\0C\0\1\1\1\1\1\1\1"..., 245765) = 245765 -- System Information: Debian Release: 6.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages php5-imagick depends on: ii libc6 2.11.3-2 Embedded GNU C Library: Shared lib ii libmagickcore3 8:6.6.0.4-3 low-level image manipulation libra ii libmagickwand3 8:6.6.0.4-3 image manipulation library ii php5-cgi [phpapi-200906 5.3.3-7+squeeze3 server-side, HTML-embedded scripti ii php5-cli [phpapi-200906 5.3.3-7+squeeze3 command-line interpreter for the p ii php5-common 5.3.3-7+squeeze3 Common files for packages built fr ii ucf 3.0025+nmu1 Update Configuration File: preserv php5-imagick recommends no packages. php5-imagick suggests no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org