running SoapUI Pro automated script from command-line (testrunner.bat)
Good morning,
I am running my Ready! API (version 2.3) automated script using the command-line (testrunner.bat).
I would like to change the JAVA_OPTS variable and set a new value for -Xmx; I noticed that its value has a variable assign to it %READY_XMX%. Do you know where is this value coming from or where this variable is set up?
Appreciate your help.
Regards,
/Chico
+++++++++++++++++++++
set JAVA_OPTS=-Xms128m -Xmx%READY_XMX% -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:MaxPermSize=256m -Dsoapui.properties=soapui.properties
Hi Chico,
Here's the answer I got from our technical specialist:
The Xmx value is auto-calculated on each TestRunner run based on the following rule: it's set to half of available RAM, but not more than 4 Gb.
E.g.
If you have 4 Gb, Xmx is set to 2 Gb
if you 16 Gb of RAM, Xmx is set to 4GbDoes it answer your question?