none
detecting memory leaks in Managed C++ RRS feed

  • Question

  • In  my managed C++ application creating multiple variables dynamically using 'gcnew' and also some of the pointers being used. 

    Is there is any tool/mechanism to detect and avoid the memory leaks in Managed C++.


    saikalyan

    Wednesday, January 7, 2015 1:54 PM

Answers

  • Hi saikalyan,

    Is there is any tool/mechanism to detect and avoid the memory leaks in Managed C++.

    You can use WinDbg tool to detect and avoid the memory leaks in Managed C++.

    Please check this article: http://www.codeproject.com/Articles/19490/Memory-Leak-Detection-in-NET

    Best regards,

    Shu Hu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, January 8, 2015 6:39 AM
    Moderator