I can't seem to find a good reference for the various command line options available with Node.js. I'm specifically interested in those that control V8 memory usage. e.g. --max_new_space_size, --max_old_space_size, etc.
Where can I find out what those mean?
Thanks!
If you start node with the argument --v8-options, you'll get a list of all v8 related options for node. Not sure that there is any specific DOC that outlines all these options (though would definitely be nice to have).
2 years and no definitive answer. I used the v8 source as a reference:
github.com/v8/v8/blob/master/src/flags/flag-definitions.h
These should also work in chrome via --js-flags
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With