Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: mem usage

by ikegami (Pope)
on May 26, 2010 at 18:10 UTC ( #841776=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @lines;
    $#lines = 12_000_000;
    @lines = ();                 <------ was missing
    push @lines, $_ while <IN>;
    
  2. or download this
    $ perl -e'print "abcdef\n" for 1..11_000_000' |
       perl -E'
    ...
          say int(`ps --no-heading -o vsz $$`/1000)
    '
    480
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2016-06-25 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (325 votes). Check out past polls.