Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
38 Views

How to detect memory leak of ipp?

I am using Intel Ipp and found out that the memory leak caused by memory allocating function ippiMalloc cannot be detected by neither crtdbg.h nor Visual Leak Detector.  I wonder is there any tool available to detect memory lead caused by ipp's function like ippiMalloc in windows. Thinks :)

Timothy 

 

Tags (1)
0 Kudos
3 Replies
Highlighted
Black Belt
38 Views

Hu,

In Windows, performance monitor will allow you to detect memory leaks. Check the following official documentation: https://msdn.microsoft.com/en-us/library/windows/hardware/ff560134(v=vs.85).aspx

BTW, if you find a memory leak related to Intel Integrated Performance Primitives, I do believe the best forum to post the details about your research so that it is investigated by Intel engineers is the Intel Integrated Performance Primitives forum: https://software.intel.com/en-us/forums/intel-integrated-performance-primitives

If possible, make sure you can provide all the details of the code that is generating the memory leak.

 

0 Kudos
Highlighted
Black Belt
38 Views

BTW, any additional information you have about this topic, I suggest you to put it in the forum I suggested in my previous post. It makes more sense and you will have help from the most appropriate Intel engineers.

0 Kudos
Highlighted
Valued Contributor II
38 Views

>>...allocating function ippiMalloc cannot be detected by neither crtdbg.h nor Visual Leak Detector... This is because _mm_malloc is used internally by IPP, and also many other Intel libraries. MS VS based Memory Leaks Detection is based on using malloc_dbg C-Runtime function instead of malloc C-Runtime function for Debug configurations.
0 Kudos