User may see this error when trying to migrate all artifacts from an 11.3 server to R12.x
Increasing the allocated heap size to, e.g "-Xmx2048m" results in same error.
Migration failed due to error
com.ca.wa.engine.migration.artifact.ArtifactReadException:
Unable to read APPLICATION artifacts.
Error: Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: Java heap space
Release : 12.x
Component : CA WORKLOAD AUTOMATION DE (DSERIES)
The target (R12) server may not have enough memory.
The source DE instance (usually 11.3) is running out of memory.
To Increase the amount of java heap in the migration script on target (R12.x) server.
----------
Additionally, check the sources (usually 11.3 or older DE instance) logs. The errors.txt will show similar errors as below:
Error: Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: Java heap space
If source server is no Unix/Linux, then edit the strartServer in <de_install_directroy>/bin and change 'MAX_HEAP_SIZE'. Increase to 2048 or 4096
MAX_HEAP_SIZE=2048
For Windows, edit jvmproperty_3= in 'windows.service.properties' under <de_install_directroy>\bin. Increase to 2048 or 4096
Note: Make sure server has enough free memory to accommodate MAX_HEAP_SIZE or jvmproperty_3 value.