Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Tokenising a 10MB file trashes a 2GB machine

by PetaMem (Priest)
on Jul 16, 2008 at 12:11 UTC ( #697951=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        print sprintf "Vsize: %3.2f MiB (%10d\)\n", $stat[22]/$MiB, $stat[
    +22];
        print "RSS  : $stat[23] pages\n";
    }
    
  2. or download this
    # ./tokenizer.pl
    8000028
    68000056
    Vsize: 322.56 MiB ( 338231296)
    RSS  : 79087 pages
    
  3. or download this
    # ./tokenizer.pl
    8000048
    112000096
    Vsize: 537.61 MiB ( 563724288)
    RSS  : 130586 pages
    
  4. or download this
    $ tokenizer.pl
    8000048
    112000096
    Vsize: 539.42 MiB ( 565620736)
    RSS  : 130571 pages
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-12-28 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls