Read performance.memory.jsHeapSizeLimit if the (non-standard, Chrome-only) API is present and sane. Returns undefined otherwise (Firefox/Safari, node, or a bogus value) so callers fall back to fixed config sizes.
performance.memory.jsHeapSizeLimit
undefined
Read
performance.memory.jsHeapSizeLimitif the (non-standard, Chrome-only) API is present and sane. Returnsundefinedotherwise (Firefox/Safari, node, or a bogus value) so callers fall back to fixed config sizes.