If you receive an out of memory error, try the following to reduce memory usage:
The default setting for the maximum amount of memory allocated to Web Performance Load Tester is 200MB (the default). The program will encounter errors if this limit is reached. To increase this value, use the following steps:
-Xms200m
-Xmx200m
The values are the initial and maximum amount of memory that Web Performance Load Tester is allowed to use. You may increase it up to the maximum value of free memory you have available on your computer.
When running a load test, it may also be necessary to increase the memory allocated by each remote Load Engine used by the test controller. By default, the engines are configured to use 200 MB. As this limit is reached, the engine will become unable to simulate additional virtual users. To increase this value:
lax.nl.java.option.java.heap.size.initial=200M
lax.nl.java.option.java.heap.size.max=200M
The values are the initial and maximum amount of memory that Web Performance Load Tester is allowed to use. You may increase it up to the maximum value of free memory you have available on your computer.
For more advanced load engine memory tuning information read this article on our blog.