Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to Find Memory Leaks ?
Forum Updated to NodeBB v4.3 + New Features

How to Find Memory Leaks ?

Scheduled Pinned Locked Moved Mobile and Embedded
12 Posts 7 Posters 11.5k 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.
  • S Offline
    S Offline
    syedasadalibs03
    wrote on last edited by
    #3

    Can we have any tools for Desktop ?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kamalakshantv
      wrote on last edited by
      #4

      [quote author="syedasadalibs03" date="1293089180"]Can we have any tools for Desktop ?[/quote]

      "Valgrind":http://valgrind.org/ is one such tool.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        giesbert
        wrote on last edited by
        #5

        There are olread yother thread son thi topic, like "this":http://developer.qt.nokia.com/forums/viewthread/2248/

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qtrahul
          wrote on last edited by
          #6

          Check this two below link for memory leak solutions.

          http://wiki.forum.nokia.com/index.php/Detecting_memory_leaks_with_HookLogger

          http://wiki.forum.nokia.com/index.php/TSS000255_-_How_to_track_down_memory_leaks_in_C++

          Best regards,

          1 Reply Last reply
          0
          • I Offline
            I Offline
            Immii
            wrote on last edited by
            #7

            On Windows with MSVS you can use _CrtDumpMemoryLeaks , CrtSetDbgFlag(_CRTDBG_REPORT_FLAG);
            _CrtSetDbgFlag(flags) to check memory leaks.
            You can google any of these to get some example how to do it

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kamalakshantv
              wrote on last edited by
              #8

              [quote author="qtrahul" date="1293091273"]Check this two below link for memory leak solutions.

              http://wiki.forum.nokia.com/index.php/Detecting_memory_leaks_with_HookLogger

              http://wiki.forum.nokia.com/index.php/TSS000255_-_How_to_track_down_memory_leaks_in_C++

              Best regards,[/quote]

              Rahul hook logger applies only to Symbain SDK and not to Nokia Qt SDK.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                AS.Sri
                wrote on last edited by
                #9

                I had asked the same question in forum nokia and i got a reply about present tools and future plans. "Symbian Memory Leak - Qt":http://discussion.forum.nokia.com/forum/showthread.php?214152-Memory-Tool-for-Qt-on-Symbian&p=797053#post797053

                PS: Hope it is alright to put an external link.

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kamalakshantv
                  wrote on last edited by
                  #10

                  [quote author="AS.Sri" date="1293095303"]

                  PS: Hope it is alright to put an external link.[/quote]

                  Yes, its ok to use verified external links

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

                    Off topic:
                    [quote author="QtK" date="1293096501"]
                    [quote author="AS.Sri" date="1293095303"]

                    PS: Hope it is alright to put an external link.[/quote]

                    Yes, its ok to use verified external links
                    [/quote]
                    What do you mean by verified in this context?

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kamalakshantv
                      wrote on last edited by
                      #12

                      Probably a link which you have checked yourself and is known to contain no malicious content. In this case the poster had posted an external link from other forum. The poster might have asked this because some forums restrict posting external links or using short url's.

                      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