On jeudi 20 juin 2019 12:07:19 CEST Howard Chu wrote: > David Chapman wrote: > > On 6/19/2019 10:34 PM, subhasish Karmakar wrote: > >> Hi, > >> > >> I have an application running on embedded linux. > >> After running for hours my application causes out of memory issue. > >> How can I get memory leak report periodically when the application is > >> running? It's a process with "while(1)" loop. > > If your only problem is memory leaks and no other concerns (such as out of > bounds accesses, corruptions, etc.) then you should give > https://github.com/hyc/mleak/ a try. It is faster than all other memory > leak detectors out there, fast enough to run in production. And you can > send it a periodic signal to get a snapshot of currently allocated memory.
Or, for another LD_PRELOAD-based tool with a really nice user interface on top, https://github.com/KDAB/heaptrack -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5 _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users