Skip to content

Commit

Permalink
Reduce Wasm memory size
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurSonzogni committed Jun 11, 2023
1 parent b86358c commit 95e4956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ target_link_system_libraries(termBreaker PRIVATE termBreakerLib)


if (EMSCRIPTEN)
target_link_options(termBreaker PUBLIC "SHELL: -s TOTAL_MEMORY=256MB")
target_link_options(termBreaker PUBLIC "SHELL: -s TOTAL_MEMORY=32MB")
target_compile_options(termBreaker PUBLIC "-gsource-map")
target_compile_options(termBreaker PUBLIC "--source-map-base=\"https://localhost:8888/\"")

Expand Down

0 comments on commit 95e4956

Please sign in to comment.