commit | be5bb041244737fc24fdc7e81222600a960a91b8 | [log] [tgz] |
---|---|---|
author | lgoubet <laurent.goubet@obeo.fr> | Tue Apr 09 14:18:45 2019 +0200 |
committer | lgoubet <laurent.goubet@obeo.fr> | Tue Apr 09 14:18:45 2019 +0200 |
tree | d61fecdad4173bcd53267da86b32367258f1ab61 | |
parent | bed7ff8930fb669d9edac8085508f5899a47d6cb [diff] |
Prevent OutOfMemoryErrors from the UI when switching CMV When comparing models that have very large single references (one reference containing 30k or more elements), computing the LCS will consume a huge amount of memory, repeatedly, only to display a placeholder for the insertion index if the user chooses to merge a given difference. This commit limits the number of object Change-Id: I4a18385090daf3d788c0f4a81faf470d526d4e42