Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 cooling their heels in the Monastery: (3)
As of 2015-07-28 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls