【问题标题】:Migrating from ClearCase to TFS - Out Of Memory Exception从 ClearCase 迁移到 TFS - 内存不足异常
【发布时间】:2012-05-06 09:32:57
【问题描述】:

我正在尝试使用“TFS 集成工具”将大型 ClearCase 流(它也有大量历史记录集)迁移到 TFS 2010。

工具挂在TfsMigrationShell.exe Information: 0 : VersionControl: ClearCase history command: 'lshistory -minor -since 01-Jan-0001.00:00:00 -eventid -recurse -fmt "*%n*%o*%m*%e*%d*%Nc*%l##" -pname \IB_FE' 然后它给出以下运行时错误: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.Split(String[] separator, Int32 count, StringSplitOptions options) at Microsoft.TeamFoundation.Migration.ClearCaseDetailedHistoryAdapter.ClearCaseCommandSpec.ParseHistoryTable(String cmdOutput) at Microsoft.TeamFoundation.Migration.ClearCaseDetailedHistoryAdapter.ClearCaseServer.GetHistoryRecords(ReadOnlyCollection'1 filters, DateTime since, Boolean writeHistoryRecordsFound) at Microsoft.TeamFoundation.Migration.ClearCaseDetailedHistoryAdapter.ClearCaseAnalysisProvider.queryHistory(ChangeGroupService changeGroupService) at Microsoft.TeamFoundation.Migration.ClearCaseDetailedHistoryAdapter.ClearCaseAnalysisProvider.GenerateDeltaTable() at Microsoft.TeamFoundation.Migration.Toolkit.AnalysisEngine.GenerateDeltaTables(Guid sourceId)

请指教。

提前致谢。

【问题讨论】:

    标签: tfs migration out-of-memory clearcase tfs-migration


    【解决方案1】:

    问题是:

    由于您无法修改工具以仅导入特定数据“d1”、“d1”到“d2”等直到“现在”,我真的会考虑:

    • 仅将很短的 ClearCase 历史导入 TFS(例如,如果您使用 ClearCase UCM,则为最后 5 个基线)
    • 如果您需要返回旧历史记录(存档),请将 ClearCase 保持在只读模式。

    【讨论】:

      【解决方案2】:

      您引发了 System.OutOfMemoryException,看来您需要更多可用 RAM/Paging 才能运行该工具。

      尽可能关闭所有正在运行的应用程序,确保 System Paging 文件足够大(例如 RAM 的三倍)。

      然后再试一次。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2010-10-26
        • 2010-11-05
        • 1970-01-01
        • 1970-01-01
        • 2018-07-16
        • 2010-10-05
        相关资源
        最近更新 更多