(PECL imagick 2, PECL imagick 3)
Imagick::getResource — Returns the specified resource's memory usage
Returns the specified resource's memory usage in megabytes.
typeRefer to the list of resourcetype constants.
Returns the specified resource's memory usage in megabytes.
Throws ImagickException on error.