Hacker News new | ask | show | jobs
by kouteiheika 852 days ago
> do we really still not have a decent memory usage analysis tool for c/ C++ ?

Shameless plug: not sure if I'd call it decent, but you might want to check my Bytehound for more in-depth analysis:

https://github.com/koute/bytehound

1 comments

It is like others relying on tracking memory allocations. Which has it"s place, but to really analyze memory usage you would need to be able to analyze which "objects" are keeping other objects alive (dominator tree in MAT)
IIUC then you might be looking for https://github.com/facebookexperimental/object-introspection - very new and not yet easily usable outside of the Meta sphere, but goes into that direction, or?