How to: fix Java Heap Space error that may occur during the import of huge repository in Linux OS

Symptom:

This situation and stack trace may occur during the import of a repository that contains a big number of objects.


Solution:

To fix this problem, the Java Heap Space value should be increased up to the value that

could allow you to finish the import operation without any memory related errors.

 

To do this:

  • navigate to the configuration files that contains this adjustment:

buildomatic\js-import.sh

buildomatic\bin\js-import-export.sh

buildomatic\bin\import-export.xml


  • set the same value for the -Xmx parameter in the 3 configuration files

that are mentioned above

Feedback
randomness