Workaround: ClearCase Import of a large number of files (>100,000)

Summary

This workaround describes how to break up a large ClearCase import to avoid exhausting runtime resources.

PLEASE NOTE: This workaround no longer applies as of version 3.0.1. You can find information pertinent to newer versions here.

More Information

Using the ClearCase synchronizer or importer to import a large number of files all at once (>100,000) can exhaust runtime resources on the synchronizer host machine. In order to work around problems with importing large numbers of files all at once, it is possible to break up the import into smaller pieces.

When configuring the synchronizer or importer, the user browses ClearCase VOBs for the “synchronization roots,” or files and folders which represent the roots of directory trees to be imported to Rational Team Concert. Even when importing with history (as well as when importing new roots for synchronization), it is not necessary to select up front all files and folders that you eventually want to have imported — in fact, on initial setup we recommend that you first import just a file or two to test your configuration before you attempt to import a large number of files.

Because synchronization roots can be added to a synchronized stream incrementally (for the importer as well as the synchronizer), the way to work around problems (for example, out-of-memory errors) when importing a large number of files at once is to first specify a subset of the directory tree to import, and then add additional roots as necessary for subsequent imports. In this way, each import is smaller and so less likely to exhuast system resources.

The ability to modify the synchronization roots after the fact also provides flexibility to change (add to and also delete from) the desired set of files and folders to import or synchronize after the initial setup.

Related Information

The following links point to related information:


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Feedback
Was this information helpful? Yes No 1 person rated this as helpful.