Skip to content

Commit 0c01bfb

Browse files
committed
webprompt: reduce default memory but allow memory growth
1 parent e6db27d commit 0c01bfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎2.7.10/webprompt.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ emcc -o $BUILD/index.html \
3434
-s EMULATE_FUNCTION_POINTER_CASTS=1 \
3535
-s USE_ZLIB=1 \
3636
-s FETCH=1 \
37-
-s TOTAL_MEMORY=256MB \
37+
-s ALLOW_MEMORY_GROWTH=1 \
3838
-s FORCE_FILESYSTEM=1 \
3939
--shell-file webprompt-shell.html -s MINIFY_HTML=0 \
4040
-s EXPORTED_FUNCTIONS="['_main', '_Py_Initialize', '_PyRun_SimpleString', '_pyruni']" \

0 commit comments

Comments
 (0)