From b8fa179622cd8960542a890d5407d146452b5f81 Mon Sep 17 00:00:00 2001 From: Stefan More Date: Tue, 27 Nov 2018 13:32:07 +0100 Subject: [PATCH] migrateDirtyDBtoRealDB: added hint regarding memory, #2214 --- bin/migrateDirtyDBtoRealDB.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/migrateDirtyDBtoRealDB.js b/bin/migrateDirtyDBtoRealDB.js index c616714a0..cf5590a10 100644 --- a/bin/migrateDirtyDBtoRealDB.js +++ b/bin/migrateDirtyDBtoRealDB.js @@ -6,6 +6,10 @@ require("ep_etherpad-lite/node_modules/npm").load({}, function(er,npm) { // to work with a real database. Please make a backup of your dirty.db // file before using this script, just to be safe. + // It might be necessary to run the script using more memory: + // `node --max-old-space-size=4096 bin/migrateDirtyDBtoRealDB.js` + + var settings = require("ep_etherpad-lite/node/utils/Settings"); var dirty = require("../src/node_modules/dirty")('var/dirty.db'); var ueberDB = require("../src/node_modules/ueberdb2");