Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Wrong dereference => Out of memory

by fullermd (Curate)
on Oct 29, 2012 at 14:53 UTC ( #1001371=note: print w/ replies, xml ) Need Help??


in reply to Wrong dereference => Out of memory

I would guess it doesn't really run out of memory, so much as trigger some error whose generic error message is "out of memory" (ENOMEM or the like), so you get the generic message which isn't quite appropriate to your case.


Comment on Re: Wrong dereference => Out of memory
Download Code
Re^2: Wrong dereference => Out of memory
by schetchik (Beadle) on Oct 29, 2012 at 15:08 UTC
    I'm sorry, but it is not :)

    I see great increase of memory usage, when this script is working.

      Ah, in that case ignore me :)

      The pseudo-hash discussion below is probably right then. I'd forgotten (not accidentally) they ever existed...

Re^2: Wrong dereference => Out of memory
by tobyink (Abbot) on Oct 29, 2012 at 15:26 UTC

    It totally does run out of memory! It causes Perl to spin into oblivion!

    I know what causes it. I'll explain below...

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-11-27 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls