Printer FriendlyEmail Article Link

Avalanche: What can cause “Out of memory” errors, and what can I do about them?

Objective/Summary
  • We may receive an “Out of memory” error from the Layer 4-7 applications, Analyzer or Commander.
  • Analyzer may display this error when reading large result files.
  • Commander may display this error when a test completes and statistics are merged, which can be a memory intensive process.
Environment/Versions
  • Avalanche Commander
  • Avalanche Analyzer
Procedure
If we see out of memory issue we could adjust the memory allocation used for these applications as follows:
  1. Create a text file in your installation directory named L4-7Analyzer.l4j.ini for Analyzer or Layer4-7.l4j.ini for Commander.
  2. Edit this file to contain the following Java Virtual Machine (JVM) options, or any of the standard JVM options, one per line. This example shows how to set the initial memory size to 256 MB, with a maximum size of 512 MB, and inherit an environment variable named somevar:

    # Launch4j runtime config for Commander or Analyzer

    -Xms256m

    -Xmx512m

    -Dsomevar="%SOMEVAR%"

  3. Restart the Layer 4-7 Analyzer or Commander application.

Product : Avalanche