Results 1 to 5 of 5

Thread: memory leaks detection tool

  1. #1
    Join Date
    Jun 2010
    Posts
    86
    Thanks
    10
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default memory leaks detection tool

    I want a utility for detecting and locating memory leaks for my Qt application

  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 leaks detection tool

    Hi, if you're using Visual Studio, here is a simple leak detector that is easy to use.

    Ginsengelf

  3. #3
    Join Date
    Jun 2010
    Posts
    86
    Thanks
    10
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: memory leaks detection tool

    thank u, but i use Qt creator
    any tools for Qt creator ?

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: memory leaks detection tool

    If you are on Linux then valgrind is the obvious choice but there are plenty of other options of varying complexity levels.

    For Windows mpatrol or leakage or google-perftools might be worth a look.

  5. #5
    Join Date
    Jun 2010
    Posts
    86
    Thanks
    10
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: memory leaks detection tool

    Thank u, I found the simplest is Leakage, but i have some difficulties using it
    i downloaded the files, then added them to my project in Qt creator, then run it normally from the creator window
    the application ran normally, but it crashes when i close a window of when memory alloc happens
    any help with using the leakage (debug_new) method ?

Similar Threads

  1. memory leaks detection in QT
    By kompotFX in forum Qt Programming
    Replies: 15
    Last Post: 28th January 2009, 21:29
  2. Memory Leak Detection Tool
    By navi1084 in forum Qt Programming
    Replies: 4
    Last Post: 4th November 2008, 15:44
  3. Memory Leaks
    By kaushal_gaurav in forum Qt Programming
    Replies: 4
    Last Post: 20th October 2008, 16:26
  4. Memory leaks..
    By santhoshv84 in forum Qt Programming
    Replies: 2
    Last Post: 28th August 2008, 19:28
  5. memory leaks
    By Fastman in forum Qt Programming
    Replies: 1
    Last Post: 5th March 2008, 08:00

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.