Results 1 to 5 of 5

Thread: Memory Leak Detection Tool

  1. #1
    Join Date
    Aug 2008
    Posts
    134
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Memory Leak Detection Tool

    Hi,
    I am using Visual Studio 2008 to develop my QT application. I need to check memory leaks in my application. Can anyone tell me which tool i can use to detect memory leaks in my application. My application contains only Qt classes.


    Thank you

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    509
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Memory Leak Detection Tool

    Hi, you could use Visual Leak Detector. It's small, easy to use and LGPL.

    Ginsengelf

  3. #3
    Join Date
    Aug 2008
    Posts
    134
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Memory Leak Detection Tool

    Thank you. Can I use bounds checker for the same.

  4. #4
    Join Date
    Oct 2008
    Posts
    70
    Thanks
    1
    Thanked 9 Times in 9 Posts

    Default Re: Memory Leak Detection Tool

    I used Compuware Bounds Checker with MSVS 2005. It's very nice tool.

    2 Ginsengelf: Did you use Visual Leak Detector with Qt library? Is it really useful? Is it recognize "delete later" feature and implicit deleting of objects (f.e. deleting all parent's child objects).

  5. #5
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    509
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Memory Leak Detection Tool

    Quote Originally Posted by pastor View Post
    2 Ginsengelf: Did you use Visual Leak Detector with Qt library? Is it really useful? Is it recognize "delete later" feature and implicit deleting of objects (f.e. deleting all parent's child objects).
    If I remember correctly, I used it only for debugging standard c++ code, so I can't say if it will detect deleteLater() or other Qt specific functions.
    Maybe I'll try and report back.

    Ginsengelf

Similar Threads

  1. Memory leak detection
    By Sid in forum Qt Programming
    Replies: 8
    Last Post: 4th May 2011, 22:38
  2. Memory leak Detection using Valgrind
    By joseph in forum Qt Programming
    Replies: 4
    Last Post: 27th March 2008, 07:34
  3. Qt4 & Visual Studio memory leak detection
    By thomaspu in forum Qt Programming
    Replies: 4
    Last Post: 22nd January 2008, 04:03
  4. Memory leak weirdness
    By Darhuuk in forum General Programming
    Replies: 10
    Last Post: 10th January 2008, 18:51
  5. Memory Leak in my Application :-(
    By Svaths in forum Qt Programming
    Replies: 4
    Last Post: 27th July 2007, 19:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.