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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
memory | Chrome Full support 7 | Edge Full support ≤79 | Firefox No support No | IE ? | Opera Full support Yes | Safari No support No | WebView Android Full support Yes | Chrome Android Full support 18 | Firefox Android No support No | Opera Android Full support Yes | Safari iOS No support No | Samsung 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
- The
Performance
interface it belongs to.