How to Install and Uninstall libtest-memorygrowth-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "libtest-memorygrowth-perl" package

Please follow the instructions below to install libtest-memorygrowth-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtest-memorygrowth-perl

2. Uninstall "libtest-memorygrowth-perl" package

This guide covers the steps necessary to uninstall libtest-memorygrowth-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtest-memorygrowth-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtest-memorygrowth-perl package on Ubuntu 21.10 (Impish Indri)

Package: libtest-memorygrowth-perl
Architecture: all
Version: 0.04-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28
Depends: perl:any
Filename: pool/universe/libt/libtest-memorygrowth-perl/libtest-memorygrowth-perl_0.04-1_all.deb
Size: 11004
MD5sum: 8205e276eeb93bed740350b8a2059e10
SHA1: e42dbbc501074cee7b18d834bfd50e35c0e4717f
SHA256: 11c0789b056fbe1e2bbf5794badf74f69bc28dc89be891951c5ed1843fca4a97
SHA512: cf7ae505c7c86e2019ef26352f1f49935c1675df26ac7fba6a335dfe2c0cd70ca76ab6defff5d749da59c0fae42086dca15dbf5da0a9c3eeb5c3962001b7ec14
Homepage: https://metacpan.org/release/Test-MemoryGrowth
Description-en: module to assert that code does not cause growth in memory usage
Test::MemoryGrowth provides a function to check that a given block of code
does not result in the process consuming extra memory once it has finished.
Despite the name of this module it does not, in the strictest sense of the
word, test for a memory leak: that term is specifically applied to cases
where memory has been allocated but all record of it has been lost, so it
cannot possibly be reclaimed. While the method employed by this module can
detect such bugs, it can also detect cases where memory is still referenced
and reachable, but the usage has grown more than would be expected or
necessary.
.
The block of code will be run a large number of times (by default 10,000),
and the difference in memory usage by the process before and after is
compared. If the memory usage has now increased by more than one byte per
call, then the test fails.
Description-md5: c70622d73542b09e05d65dbd480f263e