User Guide

  • 2020
  • 10/21/2020
  • Public Content
Contents

Troubleshooting Out-of-memory Conditions

Symptoms

  • Intel Inspector
    displays an out-of-memory message.
  • Intel Inspector
    stops application execution and collection (with or without reporting an out-of-memory message).
  • The
    memory used by the application approaches the process limit before application execution stops.

Details

Both the application and the
Intel Inspector
run in the same address space.
This means the memory footprint of the application running with the
Intel Inspector
is larger than the memory footprint of the application running without the
Intel Inspector
, because the
Intel Inspector
itself consumes memory to detect errors in the application.
Intel Inspector
exhibits the symptoms above if the total memory consumed by application and the
Intel Inspector
is close to or exceeds the total process virtual space.

Possible Correction Strategies

Reduce the amount of work the
Intel Inspector
must perform during inspection. For example:
  • Use a smaller data set.
  • Inspect the application multiple times and exclude a different set of modules each time.
  • Use
    OMP_NUM_THREADS
    to limit the number of threads when inspecting OpenMP* applications. In most cases,
    OMP_NUM_THREADS=2
    is sufficient.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804