node icon indicating copy to clipboard operation
node copied to clipboard

doc,worker: document resourceLimits overrides

Open kvakil opened this issue 1 year ago • 1 comments

If --max-old-space-size is passed on the command line, it takes precedence over resourceLimits.maxOldSpaceSizeMb passed to the worker thread. IMO this is a bug, but seems unlikely to change(?), so let's start by documenting it. See the attached issue for more details.

Refs: https://github.com/nodejs/node/issues/43991

kvakil avatar Jul 26 '22 02:07 kvakil

Okay, PTAL. I moved the additions into the sub-bullets, which feels better and removes the ambiguity of if --stack-size takes effect. If you'd like I can explicitly note that --stack-size does not affect it, but --stack-size is already undocumented today.

kvakil avatar Jul 27 '22 00:07 kvakil

Landed in 2f24f6e45dd24a263347abc13eaa5cebef4bc161

nodejs-github-bot avatar Aug 29 '22 04:08 nodejs-github-bot