From: Tuukka Lehtonen Date: Wed, 19 Apr 2017 20:08:10 +0000 (+0300) Subject: Less memory use for TG import when NamespaceMigrationStep is involved X-Git-Tag: v1.29.0~98 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=57f274203cf0046f2680fdb201759fe4f30ace34;hp=57f274203cf0046f2680fdb201759fe4f30ace34;p=simantics%2Fplatform.git Less memory use for TG import when NamespaceMigrationStep is involved MigrationStateImpl.getProperty for root resource(s) keys now first exports CURRENT_TG back to disk if the TG has already been loaded and then imports it back using StreamingTransferableGraphImportProcess. This avoids the need to keep the whole TransferableGraph1 in memory while doing the import and also allows for the use of the leaner Streaming import process. refs #7153 Change-Id: I2ef6ae055cd8a497263c3aa3e95c86ff29a96f3e ---