This commit is contained in:
Luis Fernando Molina committed 2020-09-10 22:43:30 +02:00
1 parent f5c06374e1
commit 45afa8ccfd
5 files changed
+13 -7

No files matched your search

+7 -1
View File
@@ -1,8 +1,14 @@
let options = {
execArgv: ['--max-old-space-size=8192'],
stdio: 'inherit'
}
if (process.argv.includes("minMemo")) {
options = {
stdio: 'inherit'
}
console.log('Running with Minimun Memory Required.')
}
const { fork } = require('child_process')
fork('./BackendServers/server.js', process.argv, options)