Skip to content

Commit ff9ebad

Browse files
authored
[wasm] Enlarge initial memory for emcc (#16485)
1 parent 5092c00 commit ff9ebad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tvm/contrib/emcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def create_tvmjs_wasm(output, objects, options=None, cc="emcc"):
4949
cmd += ["-s", "ERROR_ON_UNDEFINED_SYMBOLS=0"]
5050
cmd += ["-s", "STANDALONE_WASM=1"]
5151
cmd += ["-s", "ALLOW_MEMORY_GROWTH=1"]
52-
cmd += ["-s", "TOTAL_MEMORY=80MB"]
52+
cmd += ["-s", "TOTAL_MEMORY=160MB"]
5353

5454
objects = [objects] if isinstance(objects, str) else objects
5555

0 commit comments

Comments
 (0)