I know that node16 by default allocates 4GB of memory for itself.
I can change that with the flag --max-old-space-size
But how is that passed down to child processes, specifically using execFile?
- Does it spawned process get the value of --max-old-space-size?
- Or --max-old-space-size is divided by the number of children?
- Or they are not affected and use the default for Node?
I couldn't find any documentation online about this. Thanks