mirror of
https://github.com/c9fe/22120.git
synced 2024-10-03 21:57:13 +02:00
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
Block a user