Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by flexvault (Monsignor)
on Jul 02, 2013 at 13:16 UTC ( #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
Node Status?
node history
Node Type: note [id://1042005]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2018-06-18 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (107 votes). Check out past polls.

    Notices?