Skip navigation

Optimized OpenCV application inspection

Optimized OpenCV application inspection: Windows Performance Toolkit: Detecting Memory Leaks
Optimized OpenCV application inspection: Windows Performance Toolkit: Detecting Memory Leaks

With the trace file for the optimized OpenCV BlendBitmaps.exe application, its time to verify the memory leak issue is resolved by opening up the trace in WPA and inspecting the VirtualAlloc usage chart and the commit call stack. It is here that the dramatic difference in memory usage becomes visible. Before optimization the VirtualAlloc commit life times chart showed an increasing stair case of memory being consumed which showed no end in site. Now after optimization, the current memory usage remains constant (no more rising staircase). This is the intended behavior and how you should optimize your application to prevent memory leaks.

Resume Transcript Auto-Scroll
Skill Level Intermediate
53m 32s
Duration
5,040
Views
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now