mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
gh-120507: Double WASI memory (#120648)
Use 16 MiB stack with 40 MiB memory limit, instead of 8 MiB stack with 20 MiB memory limit.
This commit is contained in:
parent
0506f75c53
commit
6acf7776ef
4 changed files with 8 additions and 9 deletions
|
@ -280,9 +280,8 @@ def main():
|
|||
default_host_runner = (f"{shutil.which('wasmtime')} run "
|
||||
# Make sure the stack size will work for a pydebug
|
||||
# build.
|
||||
# The 8388608 value comes from `ulimit -s` under Linux
|
||||
# which equates to 8291 KiB.
|
||||
"--wasm max-wasm-stack=8388608 "
|
||||
# Use 16 MiB stack.
|
||||
"--wasm max-wasm-stack=16777216 "
|
||||
# Use WASI 0.2 primitives.
|
||||
"--wasi preview2 "
|
||||
# Enable thread support; causes use of preview1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue