Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Memory usage of array and hashe variables by multiple inclusion.

by flexvault (Monsignor)
on Jul 02, 2013 at 13:16 UTC ( [id://1042005]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub ShowGrowth
    {   use Devel::Size qw(total_size);
    ...
        print $DLOG "\%BigHash: ",total_size(\%BigHash),"  No of keys: $no
    +keys\n";
        print $DLOG "\@BigArray: ",total_size(\@BigArray), " No of element
    +s: $noitems\n";
    }
    
  2. or download this
        print $DLOG "\$BigScalar: ",total_size(\$BigScalar)," Addr: ",\$Bi
    +gScalar,"\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-19 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found