]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Less memory use for TG import when NamespaceMigrationStep is involved 32/432/2
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 19 Apr 2017 19:23:13 +0000 (22:23 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 19 Apr 2017 20:15:08 +0000 (23:15 +0300)
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: I37e6a30ec8d31452a66f15378e446efbfb811ffa


No differences found