在 2021/3/24 上午7:47, Alejandro Montoya (Redacted sender alejandro93 for
DMARC) 写道:
Hi,
I noticed that the size of the stack on the native (C) size is unexpectedly large; in
fact, for any JavaScript code slightly more complicated than "Hello world" the
stack overflows the standard 1Mb size of WIN32 processes.
I can override it with a "/STACK:5000000" flag to the linker and that seems to
solve the crashes but it also causes the process to reserve a lot of memory, effectively
negating other benefits of the engine.
Has anyone looked into this and options available for reducing the native stack
usage?
Thank you!