in reply to Out of memory! without system errors

As BrowserUk says, the message you’re getting is a Perl runtime error. To confirm this for yourself, use the block form of eval:

13:38 >perl -Mstrict -wE "eval { my $s = '*' x 1e12; say $s; }; warn q +q[\nPerl runtime error: $@] if $@;" Perl runtime error: Out of memory during string extend at -e line 1. 13:38 >

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: Out of memory! without system errors
by Anonymous Monk on Dec 05, 2013 at 08:09 UTC
    :) I can't actually trigger that error with that code on my win32 perl ... and its an old machine with 500mb

      I bet you're running a pre-5.10 version of Perl.


      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.