The server running TDM Portal has a lot of memory available.
To ensure effective use of resources and gain better performance from the TDM Portal, the JVM memory allocation can be increased.
The TDM Portal service uses the "Java Service Wrapper" in order to start the Java process on Windows.
The wrapper.conf file contains configuration options for Initial and Maximum memory which can be modified.
The default location of this file is: C:\Program Files\CA\CA Test Data Manager Portal\service\conf\wrapper.conf
The values need to be un-commented and changed to the desired values:
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=3072
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=6144
The example above, (using the same 16 Gig server) would change the initial value from 256 Megs to 3 Gigs and the Max value from 4 Gigs to 6 Gigs.
Once the file has been modified, save it and recycle the "CA Test Data Manager Portal" service.
The initial and max heap sizes can be validated using the command: jinfo
jinfo -flag InitialHeapSize [PID]
jinfo -flag MaxHeapSize [PID]
Note: The jinfo command works best when the versions of the JDK and JRE are properly matched. You can confirm the java version used by TDM Portal by running the following command:
"C:\Program Files\CA\CA Test Data Manager Portal\jre\bin\java.exe" -version
"Java Service Wrapper" Documentation for the above referenced properties.
https://wrapper.tanukisoftware.com/doc/english/prop-java-initmemory.htmlwrapper.java.initmemory
https://wrapper.tanukisoftware.com/doc/english/prop-java-maxmemory.htmlwrapper.java.maxmemory