- Version:8.0.0
- Platform:Windows 10 64bits
- Subsystem: child process
The following code doesn't crash with node 7.10.0 but crashes with node 8.0.0 :
constenv=_.cloneDeep(process.env);constoptions={execArgv: process.execArgv.concat(['--expose-gc','--max-executable-size=384','--max-old-space-size=512','--max-semi-space-size=2']),env: env};constcp=child_process.fork(myPathProcess,[someArg1,someArg2],options);The error :
C:\Program Files\nodejs\node.exe: bad option: --max-executable-size=384
DEBUG 19:38:55 :Calculation.onChildExit() : child process 7016 exited with code 9
I've suspected #12348 but failed to see how it can be related.
Have the V8 options changed ? I didn't find anything in the changelog about this.
Or is --max-executable-size the correct syntax ?
The following code doesn't crash with node 7.10.0 but crashes with node 8.0.0 :
The error :
I've suspected #12348 but failed to see how it can be related.
Have the V8 options changed ? I didn't find anything in the changelog about this.
Or is
--max-executable-sizethe correct syntax ?