Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function readHeapLimitBytes

    • 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.

      Returns number | undefined