Optimizing JVM parameters for TestArchitect performance

Java Virtual Machine (JVM) heap memory size can be expanded and shrink, according to your requirements for TestArchitect’s performance optimization. MaxHeapFreeRatio and MinHeapFreeRatio are the command line options available for this purpose in Oracle Java.

Notes: 
Applies to TestArchitect 8.3 Update 5 and higher.

The performance of TestArchitect is influenced by Java heap and metaspace available. You are allowed to adjust several JVM parameters to meet your desired performance as well as memory consumption.

The parameters below control how garbage collection (GC) is performed by the Java HotSpot VM. (Learn more.)

In simple words, MaxHeapFreeRatio is used to shrink the JVM and MinHeapFreeRatio is for expansion. If the ratio between the used memory and free memory exceeds MaxHeapFreeRatio (30%), JVM will shrink. If that ratio falls below MinHeapFreeRatio (15%), JVM will expand.

Remember: 

Adjusting JVM parameters

To make adjustments to JVM parameters, follow this procedure:

  1. Close TestArchitect Client, if it is running.

  2. In a text editor such as Notepad, open TestArchitect’s abt.ini file. This file is installed with TestArchitect, and by default is found in the following directories:

    • On Windows: C:\Users\Public\LogiGear\TestArchitect\Data\abt.ini
    • On Linux: /usr/local/logigear/testarchitect/data/ws/abt.ini
  3. Find the [JAVA OPTIONS] section, and then adjust the values of XX:MinHeapFreeRatio, XX:MaxHeapFreeRatio and/or XX:MaxMetaSpaceSize, if necessary.

  4. Save the file.

  5. Launch TestArchitect Client again.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400