8000 Halve size of WASI stack, again · python/cpython@7407d2b · GitHub
[go: up one dir, main page]

Skip to content

Commit 7407d2b

Browse files
committed
Halve size of WASI stack, again
1 parent c1eb229 commit 7407d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ _Py_EnterRecursiveCallUnchecked(PyThreadState *tstate)
333333
# define Py_C_STACK_SIZE 1600000
334334
#elif defined(__wasi__)
335335
/* Web assembly has two stacks, so this isn't really the stack depth */
336-
# define Py_C_STACK_SIZE 100000
336+
# define Py_C_STACK_SIZE 50000
337337
#elif defined(__hppa__) || defined(__powerpc64__)
338338
// test_descr crashed with >8000 but let's keep a margin of error.
339339
# define Py_C_STACK_SIZE 2000000

0 commit comments

Comments
 (0)
0