Re:Memory Profiling Part 1. Introduction
by malkia on Thursday February 15, 2024 @01:32PM
(#39386418)
Thanks! Should look into heaptrack - reading that it's linux only, but probably can be adopted for Windows?
Re:Memory Profiling Part 1. Introduction
by milianw on Monday February 19, 2024 @09:34AM
(#39430134)
MTuner exists for Windows which is similar but different. Porting heaptrack is not straight forward, as it heavily relies on libraries that do not work on Windows or do not support Windows executables and debugging information, such as libunwind and elfutils.
Another thing: you can always just runtime attach and profile a partial time to reduce the amount of data recorded.
Finally: if your tools do so many allocations, maybe you should consider optimizing them...