Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--stack size does not work #27472

Closed
fenginsc opened this issue Apr 29, 2019 · 1 comment
Closed

--stack size does not work #27472

fenginsc opened this issue Apr 29, 2019 · 1 comment
Labels
question Issues that look for answers. wontfix Issues that will not be fixed.

Comments

@fenginsc
Copy link

  • Version:v12.0.0
  • Platform:Windows 10
  • Subsystem:x64

node starting repl...
code:
(f = i => {console.log(i) == f(i + 1)})(1)
Able to [10000 ~11000]
Then use "node --stack size=50000"
Still Able to [10000 ~11000]
modify stack size does not work......why?

@bnoordhuis bnoordhuis added question Issues that look for answers. wontfix Issues that will not be fixed. labels Apr 29, 2019
@bnoordhuis
Copy link
Member

It's --stack_size, note the underscore, and it tells Node.js / V8 how big the stack is, not how big it should be. See e.g. #17416 for more discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issues that look for answers. wontfix Issues that will not be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants