Implementing a C++ memory allocator to track our framework memory usage

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • bytehound

    A memory profiler for Linux.

    If you're on Linux (and since you're considering using Valgrind then you must be) you could use something like my Bytehound; you can also script its analysis, so if you'd be interested in e.g. figuring out which libraries allocate how much you can also do that.

  • mimalloc

    mimalloc is a compact general purpose allocator with excellent performance.

    I know you said you’d rather avoid jemalloc or the like, but for a quick set of stats you can LD_PRELOAD something like mimalloc, and use the MIMALLOC_SHOW_STATS=1 environment variable to get some coarse grained usage stats of allocations and frees.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • heaptrack

    A heap memory profiler for Linux

    This is probably what you are looking for

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts