Resolve Resource Leaks to Improve Stability - Evaluation guide sample code

A resource leak refers to a type of resource consumption in which the program cannot release resources it has acquired. Typically the result of a bug, common resource issues, such as memory leaks, often only cause problems in very specific situations or after extensive use of an application.

Intel® Inspector XE is a dynamic analysis tool for serial and parallel applications, bringing together both memory and threading error-checking capabilities. It detects resource leaks after a single occurrence, enabling you to locate errors even when they don’t appear in a reproducible application failure. By running Intel Inspector XE on your application, you can pinpoint and fix resource leaks before they become a problem.

For more complete information about compiler optimizations, see our Optimization Notice.