Performance.memory

Syntax

timingInfo = 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

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
memory
Non-standard
Chrome Full support 7Edge Full support ≤79Firefox No support NoIE ? Opera Full support YesSafari No support NoWebView Android Full support YesChrome Android Full support 18Firefox Android No support NoOpera Android Full support YesSafari iOS No support NoSamsung Internet Android Full support 1.0

Legend

Full support
Full support
No support
No support
Compatibility unknown
Compatibility unknown
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.

See also