Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase the
sigaltstack
stack size (bytecodealliance#4964)
This commit updates the `MIN_STACK_SIZE` constant for Unix platforms when allocating a sigaltstack from 16k to 64k. The signal handler captures a wasm `Backtrace` which involves memory allocations and it was recently discovered that, at least in debug mode, jemalloc can take up to 16k of stack space for an allocation. To allow running the sigaltstack size is increased here.
- Loading branch information