Tutorial: Analyzing Memory Errors with Intel® Inspector and a C++ Sample

Analyzing Memory Errors

There are many ways to take advantage of the power and flexibility of the Intel Inspector. The following workflow, which shows how to find and fix memory errors in serial or parallel programs, is one way to help maximize your productivity as quickly as possible.

Workflow steps to find and fix memory issues

Step 1: Unpack and set up sample for analysis

Build an application to inspect for memory errors and create a new project.

Step 2: Collect result

Step 3: Investigate result

Step 4: Check your work

Rebuild the application and rerun the memory error analysis.

Note

This document is not applicable to the analysis on embedded platforms and focuses on using the Intel® Inspector in Intel® Parallel Studio XE Professional Edition. You may see minor differences if you installed a different Intel product. For more information on product capabilities in your installed product, see the product-specific supplemental documentation in <install-dir>/<Intel_product>/documentation/.