MTuner logo

MTuner

Cross‑platform C/C++ memory profiler with time‑based history

MTuner profiles C/C++ memory usage and detects leaks on Windows, consoles, and Android, preserving a full time‑based history for deep analysis. Supports custom symbol conversion via cv2pdb.

Overview

Overview

MTuner is a memory profiler and leak finder aimed at C/C++ developers working on Windows, PlayStation 3/4/5, Nintendo Switch, Android, and other platforms. It records a complete time‑based history of every allocation and deallocation, allowing developers to query the entire dataset and gain insight into memory behavior over the lifetime of an application.

Capabilities & Deployment

The tool integrates with existing build pipelines using the Qt framework for its UI and the GENie build system to simplify configuration. Binaries are available for immediate use, while source can be compiled with MinGW or Visual Studio 2022 after installing Qt and Lua. Debug symbols in CodeView/DWARF can be converted to PDB via cv2pdb, extending profiling to languages that emit compatible symbols. MTuner is released under the BSD‑2‑Clause license, making it free for commercial and hobby projects alike.

Highlights

Full time‑based history of every allocation and free
Cross‑platform support: Windows, PlayStation, Switch, Android
Powerful query engine for deep memory behavior analysis
Symbol conversion via cv2pdb enables profiling of other languages

Pros

  • Detailed chronological view of memory events
  • Works on major gaming consoles and mobile platforms
  • BSD‑2 open‑source license
  • Interactive Qt UI visualizations

Considerations

  • Requires Qt and related build dependencies to compile
  • Limited to platforms with supported debug symbols
  • No automated leak fixing feature
  • Command‑line integration is minimal

Managed products teams compare with

When teams consider MTuner, these hosted platforms usually appear on the same shortlist.

Blackfire Continuous Profiler logo

Blackfire Continuous Profiler

Low-overhead continuous profiling for app performance optimization.

Datadog Continuous Profiler logo

Datadog Continuous Profiler

Always-on code profiling to cut latency and cloud costs.

Elastic Universal Profiling logo

Elastic Universal Profiling

Whole-system, always-on profiling with no instrumentation.

Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.

Fit guide

Great for

  • Game developers needing console memory profiling
  • C/C++ engineers debugging complex memory leaks
  • Teams comfortable managing a Qt build environment
  • Projects where time‑based memory insight is critical

Not ideal when

  • Purely managed‑language projects without native symbols
  • Developers seeking cloud‑based profiling services
  • Environments lacking Qt, Visual Studio, or MinGW
  • Small utilities where a lightweight CLI tool suffices

How teams use it

Console game memory leak detection

Identify and fix leaks across frames, reducing crashes on PlayStation and Switch.

Android app performance tuning

Visualize allocation spikes during runtime to optimize memory usage and improve responsiveness.

Cross‑platform library regression testing

Compare memory footprints between builds to catch regressions early.

Legacy C code migration

Use cv2pdb to profile code compiled with DWARF, ensuring memory safety after porting.

Tech snapshot

C++96%
Batchfile1%
QMake1%
C1%
Makefile1%
Lua1%

Tags

memoryplaystation3toolperformance-analysisoptimizationmemory-profilerprofilingplaystation4memory-leak-finder

Frequently asked questions

Can MTuner profile languages other than C/C++?

Yes, if the program provides compatible debug symbols; you can convert them to PDB with cv2pdb.

How do I profile on PlayStation consoles?

Build MTuner with the appropriate console SDK and run the profiler alongside your application; detailed steps are in the documentation.

Do I need special compiler flags to use MTuner?

Standard debug builds with symbol information are sufficient; no additional instrumentation is required.

Is there a command‑line version of MTuner?

MTuner primarily provides a graphical UI; a dedicated CLI tool is not included.

Why should I add MTuner to the virus‑exclusion list?

Some antivirus engines may flag the profiler as suspicious; adding it to exclusions prevents false positives during profiling.

Project at a glance

Stable
Stars
2,749
Watchers
2,749
Forks
156
LicenseBSD-2-Clause
Repo age8 years old
Last commit7 months ago
Primary languageC++

Last synced yesterday