Unsolved Visual Leak Detector not recognising the Qt parent child relationship in detecting memory leaks
-
Hello All,
I am using link visual leak Detector (VLD)to detect the memory leaks in my C++/Qt code. Once I end the program VLD is showing almost around 7000 memory leaks (519961 bytes). I have used VLD tool in Qt creator and Visual studio 2015. Both tools shows big list of memory leaks but most of them are not leaks due to Qt parent child relationship. It is very difficult to find the leaks in my App(around 10000 lines of code).Is there some kind of filter tool so that I see only critial or specific errors ? Is there any alternative Memory leak detector that recognises Qt parent child relationship? Thank you
-
@vishnu
Hi
For other such tools, there is normally an option to exclude stuff.
Maybe there is a easy way
Did you ask on
https://vld.codeplex.com/discussionsI know people made in work on linux
http://doc.qt.io/qtcreator/creator-valgrind-overview.htmlhttp://valgrind.org/docs/manual/manual-core.html#manual-core.suppress
So i guess you are looking for something alike for windows
-
@mrjj Thanks for the quick reply.
Yes. I am now posting this query on https://vld.codeplex.com/discussions. Yes. I am looking for an alternative to valgrind in Windows. -
@vishnu
Hi
Just as note
http://www.drmemory.org/But i never tried it on a Qt project.