Returns the specified resource's memory usage

# Imagick::getResource

(PECL imagick 2, PECL imagick 3)

Imagick::getResource — Returns the specified resource's memory usage

### Beschreibung

public static function Imagick::getResource(int `$type`): int

Returns the specified resource's memory usage in megabytes.

### Parameter-Liste

`type`

  Refer to the list of resourcetype constants.

### Rückgabewerte

Returns the specified resource's memory usage in megabytes.

### Fehler/Exceptions

Wirft ImagickException bei Fehlern.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open