mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
migrateDirtyDBtoRealDB: added hint regarding memory, #2214
This commit is contained in:
parent
39fbc37dd8
commit
b8fa179622
1 changed files with 4 additions and 0 deletions
|
@ -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
|
// to work with a real database. Please make a backup of your dirty.db
|
||||||
// file before using this script, just to be safe.
|
// 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 settings = require("ep_etherpad-lite/node/utils/Settings");
|
||||||
var dirty = require("../src/node_modules/dirty")('var/dirty.db');
|
var dirty = require("../src/node_modules/dirty")('var/dirty.db');
|
||||||
var ueberDB = require("../src/node_modules/ueberdb2");
|
var ueberDB = require("../src/node_modules/ueberdb2");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue