We have installed ARD Hub in a POC environment on Windows.
We could like to try migrating a few flows from one of the projects (speed layer) to ARD hub from TDM Repo 4.9
We have tried steps from documentation, but noticed that the migration does not migrate the entire folder.
So from the logs we can see you are running out of Java Heap memory:
Example:
2021-10-07 14:37:18.881 ERROR [migration,,] 7736 --- [pool-23-thread-1] com.ca.ard.migration.service.JobRunner : Job 3fb89e0d-dd06-4cb6-9258-e79a91ae2a3c is completed with FAILED status details: java.lang.OutOfMemoryError: Java heap space
2021-10-07 14:37:18.881 INFO [migration,,] 7736 --- [pool-23-thread-1] com.ca.ard.migration.service.JobRunner : Setting job 3fb89e0d-dd06-4cb6-9258-e79a91ae2a3c status to FAILED
TDM 4.9.
ARD Hub 3.2
Agile Requirments Designer Hub.
Test Data Manager
The default tomcat memory is set to only 256 MB.
This is too small for anything but the smallest flows
Can you please increase the Xms memory setting to 12g if your server has that much free memory?
Please follow the below steps to adjust the Tomcat Memory
1) open an administrative command prompt
2) go to the <Tomcat>\bin folder
example:
C:\Program Files\Apache Software Foundation\Tomcat 9.0\bin
3) run the following command:
Tomcat9w.exe //ES//ARDHub
4) can you check this by going to the properties of your server to see what its name is:
Note:
The executable name is different and the RS is changed to ES to get the properties window to come up.
5) Hit apply then OK.
6) stop the tomcat service
7) clear the current logs
8) start the Tomcat service and check the logs for the memory size.
Example:
08-Oct-2021 13:30:44.752 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
08-Oct-2021 13:30:44.752 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx12288m
Memory Size Recommendations:
Small ARD flows: Flows open in less than 15 minutes
Memory requirements for Tomcat: 2 GIGS
Medium ARD flows: Flows open in less than 15-30 minutes
Memory requirements for Tomcat: 4-8 GIGS
Large ARD flows: Flows open in less than 30+ minutes
Memory requirements for Tomcat: 8-12 GIGS