我正在使用Imagick最新版本& PHP 5.3。当我尝试为图像创建缩略图时(下面的代码),脚本使用太多的CPU。我如何设定Imagick的资源消耗限制?Imagick内存和CPU限制
$thumb = new Imagick();
$thumb->readImage($this->tmp_file);
$thumb->thumbnailImage(200, null);
$thumb->writeImage($this->thumb_file);
$thumb->destroy();
谢谢。