Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Increasing performance with the DTP Engine for Java

Billy McMullin
Billy McMullin Posts: 63 admin
edited February 2017 in Jtest

For big projects and configurations that have enabled a great quantity of rules (corerules ~650 rules) or memory demanding global rules for the test run, we recommend increasing the Java Virtual Memory for the DTP Engine for Java.

According to the article https://dzone.com/articles/java-8-permgen-metaspace, Java 8 has higher heap space usage use to removing PermGen space:
Java heap space impact: "Some miscellaneous data has been moved to the Java heap space"

You can adjust the memory allocation for the JVM process by modifying the value for "-Xmx" in the file "jtestcli.jvm" located in the directory "[INSTALL DIRECTORY]/etc/". Example:

java.arg=-Xmx4g

g = Gigabyte
m = Megabyte

Comments

  • Billy McMullin
    Billy McMullin Posts: 63 admin

    These steps can also be applied to the other DTP Engines. Just look in the installation directory for the directory "etc" and in there will be a file listed as "[DTP Engine]cli.jvm" and this is were you can set the Java Memory for other DTP Engines.