Install heaptrack by entering the following commands in the terminal:
sudo apt update sudo apt install heaptrack
Description:
Heap memory profiler for Linux
Heap memory usage profiler. It uses LD_PRELOAD to track all calls to the core memory allocation functions and logs these occurrences. Additionally, backtraces are obtained and logged. . The package contains command line tools.
Homepage: https://github.com/KDE/heaptrack
Version: 1.0.1~20180129.gita4534d5-1
Section: universe/devel