Install libtest-leaktrace-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libtest-leaktrace-perl
Description:
Perl test module for tracing memory leaks
Test::LeakTrace provides several functions that detect and trace memory leaks. This module scans arenas, the memory allocation system, so it can detect any leaked scalar values (SVs) in given blocks. Leaked SVs are those which are not released after the end of the scope they have been created, including internal caches and global variables.
Homepage: https://metacpan.org/release/Test-LeakTrace
Version: 0.16-1
Section: universe/perl