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 - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • 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

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • heaptrack

    A heap memory profiler for Linux

  • This is probably what you are looking for https://github.com/KDE/heaptrack

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