Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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.

Comment on Re^9: statistics of a large text
Download Code
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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2015-10-09 20:35 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (251 votes), past polls