Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Reduce RAM required

by swl (Parson)
on Jan 08, 2019 at 22:53 UTC ( [id://1228239]=note: print w/replies, xml ) Need Help??


in reply to Reduce RAM required

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/

Replies are listed 'Best First'.
Re^2: Reduce RAM required
by onlyIDleft (Scribe) on Jan 09, 2019 at 16:01 UTC

    Thank you! I need to learn how to trace and prevent memory leaks, so those links will be useful in the future.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1228239]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2024-03-28 18:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found