7 ms·
http://kohlerm.blogspot.com/2009/02/how-to-really-measure-memory-usage-of.html http://kohlerm.blogspot.com/2009/02/how-to-really-measure-me... do we really stil
by kohlerm 3y ago
http://kohlerm.blogspot.com/2009/02/how-to-really-measure-memory-usage-of.html http://kohlerm.blogspot.com/2009/02/how-to-really-measure-me... do we really still not have a decent memory usage analysis tool for c/ C++ ?
- Groxx 3y agoMAT is useful enough on its own to make me seriously consider Java almost everywhere. So many tricky memory leaks in other languages made completely trivial. Yes, in many languages you can combine a few things plus a core dump and figure leaks out too... but average people actually use MAT because it's largely transparent, and it can operate on running processes. Very few languages can compete with that in practice, much less with reasonable performance.
- spockz 3y agoIs there a tool for the jvm that can track data locality? TFA mentions three for Linux binaries but that won’t do the mapping to Java source if we can combine them with `java -jar` at all.
- kouteiheika 3y 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 https://github.com/koute/bytehound
- kohlerm 3y agoIt 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)
- milianw 3y agoIIUC then you might be looking for https://github.com/facebookexperimental/object-introspection https://github.com/facebookexperimental/object-introspection - very new and not yet easily usable outside of the Meta sphere, but goes into that direction, or?
- milianw 3y agoWhat is not decent about heaptrack or similar tools?