문제

I know how to set the stack size thanks to: How can I increase the maximum call stack size in Node.js

But, what is the default size? (ie how do I get to the PHP equivalent of phpinfo())

도움이 되었습니까?

해결책

The simple answer is that the default stack size is 492 kBytes (32-bit) and 984 kBytes (64-bit).

As commented by soyuka try this:

$ node --v8-options | grep -B0 -A1 stack_size

or

$ node --v8-options | grep -B0 -A1 stack-size
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top