From 7c4032767d4c9b0cce637c8c40738d751110f711 Mon Sep 17 00:00:00 2001 From: AzureZhen Date: Mon, 5 Aug 2019 23:00:50 -0400 Subject: [PATCH] Allows the launcher to set a min memory amount of 1GB instead of 3GB. --- app/assets/js/configmanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/js/configmanager.js b/app/assets/js/configmanager.js index f34cc256..f74f7025 100644 --- a/app/assets/js/configmanager.js +++ b/app/assets/js/configmanager.js @@ -45,7 +45,7 @@ const firstLaunch = !fs.existsSync(configPath) && !fs.existsSync(configPathLEGAC exports.getAbsoluteMinRAM = function(){ const mem = os.totalmem() - return mem >= 6000000000 ? 3 : 2 + return mem >= 6000000000 ? 1 : 2 } exports.getAbsoluteMaxRAM = function(){