Contact See  the Demo! Download now! Buy Now!

Logo

Web Load Testing Analysis

 

Setting the Initial Maximum and Absolute Maximum Memory
This page describes the memory management of Web Performance TrainerTM. Simulating large numbers of virtual users takes a great deal of memory, and since running out of memory can cause some operating systems to crash, a great deal of effort has gone into controlling the amount of memory Web Performance TrainerTM uses.

The default settings are to limit the amount of memory that Web Performance TrainerTM can use to 64MB. The program will not use more than this amount of memory total, and will stop during a playback session if this limit is reached. This is obviously a lower limit that is not valid for modern computers with plenty of memory available. To increase this value, use the following steps:

Windows:
1. Locate the file "Web Performance TrainerTM 2.2.lax" in the directory where you installed the program.

2. Create a backup copy of the file.

3. Edit the file, looking for the two lines:

# LAX.NL.JAVA.OPTION.JAVA.HEAP.SIZE.INITIAL
# -----------------------------------------
lax.nl.java.option.java.heap.size.initial=64M


# LAX.NL.JAVA.OPTION.JAVA.HEAP.SIZE.MAX
# -------------------------------------
lax.nl.java.option.java.heap.size.max=64M

The values are the initial and maximum number of megabytes Web Performance TrainerTM is allowed to use. You should set it to the maximum value of free memory you have available on your computer to run applications without swapping. The default value for both is 64 megabytes.

The following values are conservative suggestions. Note that they are suggested values, and there are many differences between computers, so you should monitor memory usage of your computer, and if your computer starts to swap, i.e. runs out of real memory, you should lower the memory usage of the program.

Total hardware Memory INITIAL (bytes) MAX (bytes)
96 64M 64M
128 80M 80M
256 190M 190M

Solaris/Linux:
To modify the amount of memory used by Web Performance TrainerTM edit the file "wptrainer", and change the line:

MEMORY=64M

You can substitute the 64M with the number of free megabytes of hardware memory you have available.

Working Around Memory Limitations
If you're running out of memory, try the following things to reduce your memory usage.

  1. Set the sample period to be a minute or longer.
  2. Delete old Performance Statistics and Graphs
  3. Delete old Business Cases
  4. Start a new file, and import the business cases you're currently using.
  5. Check your operating system to see if there are any background processes taking up memory.

Home
Company
Products
Services
Sales
Support
Downloads
Library



Search



  

    

    ©copyright 2007 Web Performance, Inc.