Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to detect memory leaks

How to detect memory leaks

Scheduled Pinned Locked Moved Qt Creator and other tools
17 Posts 5 Posters 12.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    andre
    wrote on last edited by
    #4

    Google is your friend. Notice that a memory leak is not likely to be dependent on your target platform.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #5

      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.

      (Z(:^

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goetz
        wrote on last edited by
        #6

        We have a collection of tools on the wiki page "Tools for Profiling and Memory Checking":/wiki/Profiling-and-Memory-Checking-Tools

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #7

          @Volker - perfect link, I was not aware of it's existence.

          (Z(:^

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hitesh
            wrote on last edited by
            #8

            i am using windows.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #9

              [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?

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hitesh
                wrote on last edited by
                #10

                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.....

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  andre
                  wrote on last edited by
                  #11

                  [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...

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    hitesh
                    wrote on last edited by
                    #12

                    which tool i have to used for detecting memory leak in Qt Creator , on windows ?

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      andre
                      wrote on last edited by
                      #13

                      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]

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        miroslav
                        wrote on last edited by
                        #14

                        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.

                        Mirko Boehm | mirko@kde.org | KDE e.V.
                        FSFE Fellow
                        Qt Certified Specialist

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          andre
                          wrote on last edited by
                          #15

                          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]

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            miroslav
                            wrote on last edited by
                            #16

                            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.

                            Mirko Boehm | mirko@kde.org | KDE e.V.
                            FSFE Fellow
                            Qt Certified Specialist

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              andre
                              wrote on last edited by
                              #17

                              [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.

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved