Determine browser WASM memory limits and stabilise in-memory database #7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Find the practical memory ceiling for go-postgres running in-browser via WASM, then demonstrate:
Context
go-postgres runs SQLite compiled to WASM (via ncruces/go-sqlite3). In-browser, memory is constrained by:
debug.SetMemoryLimit(900MB)set bymemcheckpackage initThe soak testing infrastructure (task/WTstable branch, #6) provides the tools:
task soak:wasm— builds WASM binary and serves test UITasks
research-soak-testing.mdTranslateCached()should be wired into the driver by default to reduce allocation pressure in WASMExpected Outcomes
Related
Migrated from Codeberg: originally #7, opened 2026-03-20.