Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^9: statistics of a large text

by BrowserUk (Pope)
on Feb 10, 2011 at 15:14 UTC ( #887472=note: print w/replies, xml ) Need Help??


in reply to Re^8: statistics of a large text
in thread statistics of a large text

I have no idea since I can access the whole memory (all 50 GB)

How do you know you can access the whole of memory?

What happens if you run this code?:

perl -e' $x = chr(0) x ( 1024**3 * 12 ) '

That will attempt to allocate a single 12GB lump of memory. If it fails, then try adjusting the 12 to a lower value to discover how much memory Perl can actually allocate.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^10: statistics of a large text
by perl_lover_always (Acolyte) on Feb 10, 2011 at 15:33 UTC
    it does not fail!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://887472]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2016-12-08 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.