Available memory
Increase available memory for Load Generators
As with any Java program, the Load Generator memory is limited. This limit must be raised whenever the Load Generator memory level indicator regularly exceeds 90% during the test.
To configure the available memory, follow these steps:
-
Edit the
<install-dir>\conf\agent.properties
file. -
Edit the VM argument:
For x64, default settings are:
-XX:MaxRAMFraction=4
VM will use maximum 1/4 of total system memory.
-
If you want the VM to use maximum 1/2 of the total system memory, use the setting below:
-XX:MaxRAMFraction=2
-
Another way to set the size is to use the absolute value like in the example below where the VM is set to use maximum 4 GB of total system memory:
-Xmx4g
Note: For x86, default settings are: -Xmx800m
. This means that the VM will use maximum 800 MB of total system memory.
Increase available memory for Monitoring Agents
As with any Java program, the Monitoring Agent memory is limited. This limit must be increased when the Monitoring Agent is used to monitor a large number of counters.
To increase the available memory for each Monitoring Agent, follow these steps:
-
Edit the
<install-dir>/conf/monitoringAgent.properties
file. -
Edit the
[MonitorEngine]me.launcher.vm.parameters
key to set the new limit in Mb.For example:
[MonitorEngine]me.launcher.vm.parameters=-Xmx512m
sets the limit at 512Mb.
Increase available memory for the Controller
As with any Java program, the NeoLoad Controller memory is limited. This limit must be raised whenever the Controller needs to process a large volume of test results.
To configure the available memory, follow these steps:
-
Edit the
<install-dir>/bin/NeoLoadGUI.vmoptions and <NeoLoad>/bin/NeoLoadCmd.vmoptions
files. -
Edit the VM argument:
For x64, default settings are:
-XX:MaxRAMFraction=4
VM will use maximum 1/4 of total system memory.
-
If you want the VM to use maximum 1/2 of the total system memory, use below setting:
-XX:MaxRAMFraction=2
-
Another way to set the size is to use the absolute value like in the example below where the VM is set to use maximum 4 GB of total system memory:
-Xmx4g
Note: For x86, default settings are: -Xmx800m
. This means that the VM will use maximum 800 MB of total system memory.