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