Skip to content

Instantly share code, notes, and snippets.

View realdecisions's full-sized avatar
🏠
Working from home

Evgeniy Vansevich realdecisions

🏠
Working from home
View GitHub Profile
@realdecisions
realdecisions / perl-memory-modules
Last active January 18, 2017 11:39 — forked from jkeroes/perl-memory-modules
Perl memory leaks resources
Complex memory analysis:
* Devel::MAT - makes heap dump and provides toolchain for dump-file analysis
Tracking memory leaks:
Devel::Arena - sv_stats() returns arena structures used for SV allocation
* Devel::Cycle - find_cycle($ref) returns all cycles found in $ref and the perl variables they point to
Devel::Gladiator - walk Perl variable arena
Devel::Leak - deprecated by Devel::LeakTrace::Fast
Devel::LeakTrace - deprecated by Devel::LeakTrace::Fast
* Devel::LeakTrace::Fast - prints leaked SV's and line numbers at END.