Import of a large objects (Modeler Stream, repository folder export file) fail with out of memory error
Resolving the problem
Several work-arounds are available:
- Increasing memory for C&DS might resolve this: Update the wrapper.java.maxmemory from 512 to 1024 (MB) for example within the wrapper.conf file, located in the <jboss install>/wrapper/conf/ directory.
Depending on the available memory on the server, on a 64-bit server this value can be set higher then in a 32-bit server.
- Before exporting, delete old object versions from repository. This issue will only occur with large export files.
Ensuring the repository is kept clean of old/unused object versions will reduce these types of issues.
- If the folder structure allows it (if subfolders are available) cut the export in multiple export files, to be able to import smaller import files
If the above actions do not resolve the problem, contact Technical Support. Utilities might be available to automate the cleanup of old object versions.