3.0.6xx new version with fixes for global install
This commit is contained in:
parent
9d4163a957
commit
68d04a3307
|
@ -18,5 +18,5 @@ const memoryAllocation = Math.floor((totalMemory / (1024 * 1024)) * 0.8); // Con
|
|||
console.log(`Index can use up to: ${memoryAllocation}MB RAM`);
|
||||
|
||||
// Running the application
|
||||
spawn('node', [`--max-old-space-size=${memoryAllocation}`, path.resolve(__dirname, 'build', 'diskernet.mjs')], { stdio: 'inherit' });
|
||||
spawn('node', [`--max-old-space-size=${memoryAllocation}`, path.resolve(__dirname, 'build', 'diskernet.cjs')], { stdio: 'inherit' });
|
||||
|
||||
|
|
Loading…
Reference in New Issue