Results 1 to 4 of 4

Thread: memory leak tool for windows 7.....not using visual stdio

  1. #1
    Join Date
    Nov 2011
    Posts
    8
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default memory leak tool for windows 7.....not using visual stdio

    hi..i am new to QT we are developing the application on windows 7 ,64 bit plateform.....i want to use the memory leak tool for it....thhe default option in QT are for QML and valgrind for linux .....so please tell me how to use the memory leak tool for the application......is there is valgrind tool for windows also???/if yes then please tell me from where to download beacuse i am not able to find it.......i try to download drmemory tool but it is only applicable for windows 32 bit......

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: memory leak tool for windows 7.....not using visual stdio

    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Nov 2011
    Posts
    8
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: memory leak tool for windows 7.....not using visual stdio

    actually i have given the memory to 10 classes(dialogs) by new operator in the main....when i process the 9 classes there is no error they are working properly but in the particular 1 class there is the run time crash.so for this i want to use the memroy leak tool

  4. #4
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: memory leak tool for windows 7.....not using visual stdio

    I say you should first try with the debugger, a memory leak is unlikely to crash your application, that is most likely caused by other pointers mistakes (use uninitialized, double delete, use after delete, read/write over c array bounds, etc) and for those you can start with a debugger.

    Some profilers also provide code analysis and those may find some common pointer mistakes, so i guess that you most likely need a more complete profiler (if you can't find the bug with a debugger).

Similar Threads

  1. memory leak detection tool
    By GrahamLabdon in forum Newbie
    Replies: 1
    Last Post: 15th April 2011, 16:30
  2. Qt dll + memory leak
    By Fastman in forum Qt Programming
    Replies: 3
    Last Post: 2nd August 2009, 13:28
  3. QtDesigner in Visual Stdio 2005 display error
    By osiris81 in forum Qt Tools
    Replies: 1
    Last Post: 25th February 2009, 15:15
  4. Memory Leak Detection Tool
    By navi1084 in forum Qt Programming
    Replies: 4
    Last Post: 4th November 2008, 15:44
  5. Qt4 & Visual Studio memory leak detection
    By thomaspu in forum Qt Programming
    Replies: 4
    Last Post: 22nd January 2008, 04:03

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.