Performance.memory

Syntax

memoryInfo = performance.memory

Attributes

jsHeapSizeLimit

The maximum size of the heap, in bytes, that is available to the context.

totalJSHeapSize

The total allocated heap size, in bytes.

usedJSHeapSize

The currently active segment of JS heap, in bytes.

Specifications

None.

Browser compatibility

BCD tables only load in the browser

See also