Memory profiling overview
Memory profiling helps you detect memory allocation problems and leaks.
Runtime memory errors and leaks are among the most difficult errors to locate and the most important to correct. The symptoms of incorrect memory use are unpredictable and typically appear far from the cause of the error. The errors often remain undetected until triggered by a random event, so that a program can seem to work correctly when in fact it's only working by accident.
After execution of an instrumented application, the memory profiling
report provides a summary diagram and a detailed report for both byte
and memory block usage. The summary diagrams give you a quick overview
of memory usage in blocks and bytes, including:
- The total memory allocated during the execution of the application.
- The memory that remains allocated after the application was terminated.
- The maximum memory usage encountered during execution
The detailed section of the report lists memory usage events identified as errors or warnings.