From 258d81d7e9ce28fd167b6d1ac469b05ab4022c5a Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 4 Dec 2020 11:03:26 -0800 Subject: [PATCH] mongo: bring mem limit in-line with others --- src/addons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addons.js b/src/addons.js index 09049c85b..64c980f00 100644 --- a/src/addons.js +++ b/src/addons.js @@ -183,7 +183,7 @@ const SERVICES = { mongodb: { status: containerStatus.bind(null, 'mongodb', 'CLOUDRON_MONGODB_TOKEN'), restart: restartContainer.bind(null, 'mongodb'), - defaultMemoryLimit: (1 + Math.round(os.totalmem()/(1024*1024*1024)/4)) * 200 * 1024 * 1024 + defaultMemoryLimit: (1 + Math.round(os.totalmem()/(1024*1024*1024)/4)) * 256 * 1024 * 1024 }, mysql: { status: containerStatus.bind(null, 'mysql', 'CLOUDRON_MYSQL_TOKEN'),