diff --git a/src/coreclr/hosts/corerun/CMakeLists.txt b/src/coreclr/hosts/corerun/CMakeLists.txt index cec25ae3312fcb..87398cd65e9d17 100644 --- a/src/coreclr/hosts/corerun/CMakeLists.txt +++ b/src/coreclr/hosts/corerun/CMakeLists.txt @@ -76,6 +76,8 @@ else() -fwasm-exceptions -sEXIT_RUNTIME=1 -sINITIAL_MEMORY=134217728 + -sMAXIMUM_MEMORY=2147483648 + -sALLOW_MEMORY_GROWTH=1 -sSTACK_SIZE=5MB -sENVIRONMENT=node,shell,web -Wl,-error-limit=0) diff --git a/src/native/corehost/browserhost/CMakeLists.txt b/src/native/corehost/browserhost/CMakeLists.txt index b0a8a79d6fc6e2..8fc4ee3ea0fa04 100644 --- a/src/native/corehost/browserhost/CMakeLists.txt +++ b/src/native/corehost/browserhost/CMakeLists.txt @@ -107,7 +107,6 @@ target_link_options(browserhost PRIVATE -sINITIAL_MEMORY=134217728 -sMAXIMUM_MEMORY=2147483648 -sALLOW_MEMORY_GROWTH=1 - -sALLOW_TABLE_GROWTH=1 -sSTACK_SIZE=5MB -sMODULARIZE=1 -sEXPORT_ES6=1