How to detect memory leaks
-
By TRK you mean "Trinity Rescue Kit":http://trinityhome.org/? If so, I have no idea, but it seems to be based on Mandriva, which means it might have RPM installed. Therefore, you can try installing one of "these":http://rpmfind.net/linux/rpm2html/search.php?query=valgrind.
-
by "http://www.valgrind.org/downloads/current.html"
i have download "valkyrie 2.0.0 (tar.bz2)"it is not exe file.
how to install it & plugin with Qt Creator.
how to use it to detect memory leak..... -
[quote author="hitesh" date="1330339996"]by "http://www.valgrind.org/downloads/current.html"
i have download "valkyrie 2.0.0 (tar.bz2)"it is not exe file.
how to install it & plugin with Qt Creator.
how to use it to detect memory leak.....
[/quote]
That tool is listed under Mac OS/X & Linux, not under Windows... -
Quoting myself:
[quote author="Andre" date="1330338830"]
[quote author="hitesh" date="1330338552"]i am using windows.[/quote]
Good for you. Did you not see the tools listed on the page Volker linked to? Do you need more than that?[/quote]
I was referring to this post of Volker:
[quote author="Volker" date="1329996757"]We have a collection of tools on the wiki page "Tools for Profiling and Memory Checking":/wiki/Profiling-and-Memory-Checking-Tools[/quote]
-
Hey, we spent a lot of time adding Valgrind support to Qt Creator, now let's use it :-)
I edited the page to mention that Qt Creator comes with built-in support for memory checking and profiling with Valgrind on Linux and Mac. The situation looks more bleak on Windows, but that is a different problem.
-
I would agree, if the situation wasn't that bleak on Windows or the opening poster wasn't on a Windows system. As it turns out, he is, so although Valgrind integration in Creator is cool, it is useless in this case:
[quote author="hitesh" date="1330338552"]i am using windows.[/quote] -
[quote author="miroslav" date="1330425416"]I was referring to the fact that the wiki page did not mention that Valgrind can be used directly from within Qt Creator on the platforms that support it. [/quote]
Ah, right, good point, and thanks for the addition.