in reply to Out of memory! without system errors

all i got was a message saying (Out of Memory!) without getting any sort of warnings from Perl

The Out of memory message is a warning from Perl; telling you you've asked for more memory -- ~20,000GB -- than your system has available.

You could achieve your expected result by doing:

print "********************\n" for 1 .. 1_000_000_000_000;

Of course, you might have to wait a while.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
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^2: Out of memory! without system errors
by 5plit_func (Beadle) on Dec 05, 2013 at 01:49 UTC
    BrowserUk, thank you very much for your explanation i am humbled by your explanation and alternative given to achieve my playfulness using Perl.