(PECL imagick 2.0.0)
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.