Profiling and Memory Checking Tools: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Cleanup)
Line 1: Line 1:
 
{{LangSwitch}}
 
[[Category:Tools]]
[[Category:Tools]]
This is a collection of tools for profiling and memory checking. It's mostly a summary of programs/libraries mentioned in the forums, notably in threads [http://forum.qt.io/topic/1892/advice-on-checking-for-memory-leaks-and-dangling-resources/3 Advice on checking for memory leaks and dangling resources?] and [http://forum.qt.io/topic/2200/other-tools-for-qt-development/2 Other tools for Qt Development]
This is a collection of tools for profiling and memory checking. It's mostly a summary of programs/libraries mentioned in the forums, notably in threads [http://forum.qt.io/topic/1892/advice-on-checking-for-memory-leaks-and-dangling-resources/3 Advice on checking for memory leaks and dangling resources?] and [http://forum.qt.io/topic/2200/other-tools-for-qt-development/2 Other tools for Qt Development]


Line 27: Line 24:
* [http://deleaker.com/ Deleaker] (commercial) detects memory, GDI and other leaks
* [http://deleaker.com/ Deleaker] (commercial) detects memory, GDI and other leaks
* [http://www.drmemory.org/ Dr.Memory] (Open-source memory monitoring tool)
* [http://www.drmemory.org/ Dr.Memory] (Open-source memory monitoring tool)
* [http://software.intel.com/en-us/articles/intel-parallel-inspector/ Intel Parallel Inspector] (commercial)
* [https://software.intel.com/en-us/intel-inspector-xe Intel Inspector XE] (commercial)
* [http://lukestackwalker.sourceforge.net/ Luke Stackwalker] (Open-source CPU profiler based on sampling)
* [http://lukestackwalker.sourceforge.net/ Luke Stackwalker] (Open-source CPU profiler based on sampling)
* [http://www-01.ibm.com/software/awdtools/purify/win/ Rational Purify] (commercial)
* [http://www-01.ibm.com/software/awdtools/purify/win/ Rational Purify] (commercial)

Revision as of 19:55, 27 June 2015

En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh

This is a collection of tools for profiling and memory checking. It's mostly a summary of programs/libraries mentioned in the forums, notably in threads Advice on checking for memory leaks and dangling resources? and Other tools for Qt Development

Linux, Mac OS X

Valgrind is the tool of choice for analyzing a variety of issues on Linux and Mac OS X. It uses individual tools for specific analysis like profiling and memory checking. Qt Creator's Analyze mode integrates Valgrind, and provides both memory checking and profiling functionality from within the IDE. Valgrind needs to be installed for that to work. Valgrind is not available on Windows, but since memory issues are usually not platform dependent, analysis can be done on Linux or Mac OS X as well.

There is a tutorial on how to debug C++ code with Valgrind on Linux at http://devmentor.posterous.com/debugging-with-valgrind

Visualizer for Valgrind profiling results

Qt4-based GUI for the Valgrind 3.6.x and 3.7.x series

visualizer for the massif (one of the valgrind tools) output

Windows

can detect memory leaks, but is mainly for profiling