chrome.system.memory

Description

The chrome.system.memory API.

Permissions

system.memory

Types

MemoryInfo

Properties

  • availableCapacity

    number

    The amount of available capacity, in bytes.

  • capacity

    number

    The total amount of physical memory capacity, in bytes.

Methods

getInfo()

Promise
chrome.system.memory.getInfo(
  callback?: function,
)

Get physical memory information.

Parameters

  • callback

    function optional

    The callback parameter looks like:

    (info: MemoryInfo)=>void

Returns

  • Promise<MemoryInfo>

    Chrome 91+

    Promises are only supported for Manifest V3 and later, other platforms need to use callbacks.