From 84807125c086f89e7b6954dbc3ccba15f41026db Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Fri, 13 May 2022 16:28:04 -0400 Subject: [PATCH] allow memory to grow in wasm --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6007a46..b245ace 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,7 @@ EMCCFLAGS = --closure 1 --memory-init-file 0 -s NO_FILESYSTEM=1 -s INVOKE_RUN=0 # (This can't be changed by the app with wasm since it's baked into the wasm). # (emscripten also mandates at least 16MB of memory for asm.js now, so # we don't use this for the legacy build.) -EMCCFLAGS_WASM += -s TOTAL_STACK=65536 -s TOTAL_MEMORY=262144 +EMCCFLAGS_WASM += -s TOTAL_STACK=65536 -s TOTAL_MEMORY=262144 -s ALLOW_MEMORY_GROWTH EMCCFLAGS_ASMJS += -s WASM=0