Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

How to detect memory leak of ipp?

Hu_X_
Beginner
2,354 Views

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 

 

0 Kudos
3 Replies
gaston-hillar
Valued Contributor I
2,354 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
gaston-hillar
Valued Contributor I
2,354 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
SergeyKostrov
Valued Contributor II
2,354 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
Reply