Returns the specified resource's memory usage
$type
Returns the specified resource's memory usage in megabytes.
type
Refer to the list of resourcetype constants.
Throws ImagickException on error.