句法

timingInfo = performance.memory
					

属性

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.

规范

None.

浏览器兼容性

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. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
memory 非标 Chrome 7 Edge ≤79 Firefox 不支持 No IE ? Opera Yes Safari 不支持 No WebView Android Yes Chrome Android 18 Firefox Android 不支持 No Opera Android Yes Safari iOS 不支持 No Samsung Internet Android 1.0

图例

完整支持

完整支持

不支持

不支持

兼容性未知 ?

兼容性未知

非标。预期跨浏览器支持较差。

另请参阅

元数据

  • 最后修改: