wasm: increase initial memory to 64 MB and stack to 10 MB for larger designs

This commit is contained in:
Intubun 2026-05-21 10:25:33 +02:00
parent 7e02395591
commit 64fcbb6581
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ TOP_EXTRA_LIBS += \
-sEXPORTED_FUNCTIONS=_magic_wasm_init,_magic_wasm_run_command,_magic_wasm_source_file,_magic_wasm_update \
-sEXPORTED_RUNTIME_METHODS=cwrap,ccall,FS,setValue,getValue \
-sALLOW_MEMORY_GROWTH=1 \
-sINITIAL_MEMORY=33554432 \
-Wl,-z,stack-size=5242880 \
-sINITIAL_MEMORY=67108864 \
-Wl,-z,stack-size=10485760 \
-sASSERTIONS=1 \
-sENVIRONMENT=node,web,worker \
-sFORCE_FILESYSTEM=1 \