Document that NoteDb migration requires a large heap

Bug: Issue 8046
Change-Id: Iad301f4c2c0d6445a7984f10328957ce4af9115e
This commit is contained in:
Dave Borowitz
2018-02-07 11:14:06 -05:00
parent 0af28d3008
commit 68a3e12751

View File

@@ -103,6 +103,11 @@ To run the offline migration, run the `migrate-to-note-db` program:
Once started, it is safe to cancel and restart the migration process, or to
switch to the online process.
[NOTE]
Migration requires a heap size comparable to running a Gerrit server. If you
normally run `gerrit.war daemon` with an `-Xmx` flag, pass that to the migration
tool as well.
*Advantages*
* Much faster than online; can use all available CPUs, since no live traffic