Created
October 11, 2019 17:33
-
-
Save rajatbarman/43510e987040c763c3c22d45c13aa0c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const spawn = require('child_process').spawn; | |
for (let i=0; i <=10; i++) { | |
spawn('node', ['--max-old-space-size=2048', './test.js', `test${i}`, 5], { | |
stdio: 'inherit' | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment