Results 1 to 3 of 3

Thread: Memory Leak tools for Qt Application

  1. #1
    Join Date
    Mar 2011
    Posts
    120
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Memory Leak tools for Qt Application

    Hi everyone,
    I have a qt code and i want to test memory leakage for the code.
    Can any one told me about any gui tool so i can test my code and i am able to find the line or piece of code where memory leakage is happened ?
    (Please suggest for linux and windows)


    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Memory Leak tools for Qt Application

    the fact this is Qt code is nothing special, memory leaks are memory leaks.
    If what you are looking for are not commercial tools then for windows you have the VLD (which I have used and is ok).
    Under linux you have the good old valdgrind tool.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Aug 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Memory Leak tools for Qt Application

    Hello,
    you can also have a look to the QxOrm library. There is a "memroy leak" detector module called QxMemLeak based on Wu Yongwei work.

Similar Threads

  1. Qt example with memory leak
    By Squall in forum Qt Programming
    Replies: 5
    Last Post: 21st February 2011, 10:07
  2. Memory leak in my threaded SSL server application
    By moosa in forum Qt Programming
    Replies: 8
    Last Post: 23rd August 2010, 07:49
  3. memory leak
    By mattia in forum Newbie
    Replies: 18
    Last Post: 16th January 2008, 10:22
  4. I have memory leak on every Qt3/4 application, Qt bug?
    By saugumas in forum Qt Programming
    Replies: 3
    Last Post: 14th November 2007, 19:33
  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.