How to Install and Uninstall heaptrack Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 13,2024

1. Install "heaptrack" package

This guide covers the steps necessary to install heaptrack on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install heaptrack

2. Uninstall "heaptrack" package

This guide let you learn how to uninstall heaptrack on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove heaptrack $ sudo apt autoclean && sudo apt autoremove

3. Information about the heaptrack package on Ubuntu 20.10 (Groovy Gorilla)

Package: heaptrack
Architecture: amd64
Version: 1.1.0+20180922.gitf752536-4build1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 482
Depends: libboost-iostreams1.71.0, libboost-program-options1.71.0, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 7), libheaptrack (= 1.1.0+20180922.gitf752536-4build1)
Filename: pool/universe/h/heaptrack/heaptrack_1.1.0+20180922.gitf752536-4build1_amd64.deb
Size: 120456
MD5sum: 026b3dcf0e760e7828e4e9082f3170b1
SHA1: 48bc8693a6ed1bbda8ffce07eb9b8275d6608628
SHA256: a379102b192309c5f18a23cdbeacc241fa86eff94c9699422d71499f4f920667
SHA512: e0130fe4b7bf3a2c3e62eb91a229cd1a264bd443e3130879e79ebe7323f0162f401e54be2ca1e7838fbbcd00b8c986f1e202958c6001d3ca72f30e9c161c96e5
Homepage: https://github.com/KDE/heaptrack
Description-en: 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. It can also
generate a historigram of allocation sizes over the number of
calls. Heaptrack measures the following:
.
* Heap memory consumption (like Massif).
* Number of calls to allocation functions (like callgrind).
* Total amount of memory allocated, ignoring deallocations.
* Leaked memory (like memcheck).
.
Heaptrack is notable for it's ability to attach to running processes,
for consuming substantially less memory than Valgrind, and for not
reducing an application's interactivity as much as Valgrind does.
Heaptrack is useful for debugging memory leaks and memory ballooning.
.
The package contains the command line tools.
Description-md5: 56d96531fdd564d2850fedeec3b1576e