Our great sponsors
-
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.
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.
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.
This is probably what you are looking for https://github.com/KDE/heaptrack
Related posts
- Introducing alloc-track: Precise memory profiling by stack trace and thread.
- Memory leak in a long running process.
- Hi, I’m new in rust, I have some expirience with c# and its classes ans structs. I can’t find information about that is happend with struct in rust when I pass it to function argument. Are there some copy effect ?
- Memory freed but not immediately
- Bytehound: A Memory Profiler for Linux