(PECL imagick 2, PECL imagick 3)
Imagick::getResource — Returns the specified resource's memory usage
$type
): intReturns the specified resource's memory usage in megabytes.
Returns the specified resource's memory usage in megabytes.
Throws ImagickException on error.