Syntactic Confectionery Delight | |
PerlMonks |
Re: Reduce RAM requiredby swl (Parson) |
on Jan 08, 2019 at 22:53 UTC ( [id://1228239]=note: print w/replies, xml ) | Need Help?? |
Others have made good suggestions regarding algorithm and scope, but for a more complex program you could use Devel::MAT to identify which structures are using the most memory. See also https://tech.binary.com/tracing-perl-memory-leaks-with-devel-mat/ and https://tech.binary.com/tracing-perl-memory-leaks-with-devel-mat-part-2/
In Section
Seekers of Perl Wisdom
|
|