What is the default stack size in Node.js?

别来无恙 提交于 2019-11-29 06:31:30

问题


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())


回答1:


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


来源:https://stackoverflow.com/questions/20748061/what-is-the-default-stack-size-in-node-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!