migrateDirtyDBtoRealDB: added hint regarding memory, #2214

pull/3526/head
Stefan More 2018-11-27 13:32:07 +01:00 committed by muxator
parent 39fbc37dd8
commit b8fa179622
1 changed files with 4 additions and 0 deletions

View File

@ -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");