{"record":{"id":"9ee83bb51dcddf8d","repo":"perspective-dev/perspective","slug":"memory64-perspective-server-wasm-failed-to-load-f","errorCode":null,"errorMessage":"Memory64 perspective server wasm failed to load, falling back to wasm32","messagePattern":"Memory64 perspective server wasm failed to load, falling back to wasm32","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"rust/perspective-js/src/ts/perspective.browser.ts","lineNumber":145,"sourceCode":"\n    // A lone `wasm64` registration is an explicit opt-in and is used as-is\n    // regardless of the probe (an unsupporting host fails at instantiation,\n    // which is the correct error).\n    if (\n        registry.wasm64 !== undefined &&\n        (registry.wasm32 === undefined || host_supports_memory64())\n    ) {\n        try {\n            return await materialize_server_wasm(\n                registry.wasm64,\n                registry.disable_stage_0,\n            );\n        } catch (e) {\n            if (registry.wasm32 === undefined) {\n                throw e;\n            }\n\n            console.warn(\n                \"Memory64 perspective server wasm failed to load, falling back to wasm32\",\n                e,\n            );\n        }\n    }\n\n    return await materialize_server_wasm(\n        registry.wasm32!,\n        registry.disable_stage_0,\n    );\n}\n\n/**\n * Register the Perspective engine (\"server\") WebAssembly binary that backs\n * `worker()`.\n *\n * The single-argument form registers one binary of either bitness. The\n * object form registers a wasm32 and/or wasm64 (Memory64) binary; the wasm64","sourceCodeStart":127,"sourceCodeEnd":163,"githubUrl":"https://github.com/perspective-dev/perspective/blob/11c8238c0c9c0b9e490b5a6a2dc277afad1e980a/rust/perspective-js/src/ts/perspective.browser.ts#L127-L163","documentation":"Warning from server wasm selection: the memory64 build of perspective-server failed to compile/instantiate on this host, and because a wasm32 build is also registered, the loader logs this warning and materializes the wasm32 variant instead. If no wasm32 fallback existed, the original error would be rethrown instead of warned.","triggerScenarios":"Thrown at rust/perspective-js/src/ts/perspective.browser.ts:145 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the browser/runtime supports Memory64 (Chrome/Edge with memory64 enabled, recent versions)","Re-enable wasm32 in the wasm registry so the fallback stays available","Check that both perspective-server.memory64.wasm and the wasm32 artifact are served correctly","If memory64 support is expected, test host_supports_memory64() and file an instantiation error report"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"11c8238c0c9c0b9e490b5a6a2dc277afad1e980a","analyzedAt":"2026-09-09T00:35:19.377Z","contentChangedAt":"2026-09-09T00:35:19.377Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}