diff --git a/emscripten/buildToolkit b/emscripten/buildToolkit index 5ab3be25219..3a2f1304d96 100755 --- a/emscripten/buildToolkit +++ b/emscripten/buildToolkit @@ -122,6 +122,7 @@ if ($wasmQ) { $LFLAGS = " -s WASM=1"; $LFLAGS .= " -s INITIAL_MEMORY=512MB"; $LFLAGS .= " -s STACK_SIZE=256MB"; + $LFLAGS .= " -s ALLOW_MEMORY_GROWTH"; $LFLAGS .= " -s SINGLE_FILE=1"; $LFLAGS .= " -s INCOMING_MODULE_JS_API=onRuntimeInitialized"; if ($debug) {