From 2bc7a0b5dcf0fb54febc26ffd142bc56c53f9415 Mon Sep 17 00:00:00 2001 From: openbuilds-engineer Date: Fri, 17 May 2019 14:10:25 +0200 Subject: [PATCH] v1.0.169 --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 92b68e9..15a695c 100644 --- a/index.js +++ b/index.js @@ -62,7 +62,8 @@ if (isElectron()) { electronApp.commandLine.appendSwitch('enable-zero-copy', 'true') electronApp.commandLine.appendSwitch('disable-software-rasterizer', 'true') electronApp.commandLine.appendSwitch('enable-native-gpu-memory-buffers', 'true') - electronApp.commandLine.appendSwitch('js-flags', '--max-old-space-size=8192') + // Removing max-old-space-size switch (Introduced in 1.0.168 and removed in 1.0.169) due it causing High CPU load on some PCs. + //electronApp.commandLine.appendSwitch('js-flags', '--max-old-space-size=8192') console.log('Command Line Arguments for Electron: Set OK') } const BrowserWindow = electron.BrowserWindow;