It's currently not possible to save a document version in the archive without loading it entirely: if the document contains hundreds of versions it might involve needing a lot of memory just for that. We should allow to load only a few revisions (we need at least a full complete revision, not just a diff), and then allow to save a partial archive. And ensure that we don't systematically load the entire archive. |