╭ changed ╮ │build.zig│ ╰─────────╯ ╭──────────────────────────────────────────────────────────────────────────────╮ │27 exe.export_memory = true; │ │28 exe.stack_size = std.wasm.page_size; │ │29 │ │30 + // start small and let the allocator grow on demand up to wasm32's│ │31 + // architectural ceiling (65536 pages = 4 GiB) │ │32 const initial_pages = 16; │ │31 - const max_pages = 256; │ │33 + const max_pages = 65536; │ │34 exe.initial_memory = std.wasm.page_size * initial_pages; │ │35 exe.max_memory = std.wasm.page_size * max_pages; │ │36 │ ╰──────────────────────────────────────────────────────────────────────────────╯