Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Profiling and Memory Checking Tools

From Qt Wiki
Revision as of 16:18, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tools for Profiling and Memory Checking

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?”/forums/viewthread/1924 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.

Windows

  • AQTime [smartbear.com] (commercial)
    can detect memory leaks, but is mainly for profiling
  • Bounds Checker [microfocus.com]
  • Deleaker [deleaker.com] (commercial) detects memory, GDI and other leaks
  • Dr.Memory [drmemory.org] (Open-source memory monitoring tool)
  • Intel Parallel Inspector [software.intel.com] (commercial)
  • Luke Stackwalker [lukestackwalker.sourceforge.net] (Open-source CPU profiler based on sampling)
  • Rational Purify [01.ibm.com] (commercial)
  • Visual Leak Detector [vld.codeplex.com]
  • Very Sleepy [codersnotes.com] (Open-source CPU profiler based on sampling)
  • Visual Studio Profiler (up to VS 2010 only in the ultimate version, VS 11 will have it in the professional version)

Categories: