Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Wrong dereference => Out of memory

by fullermd (Priest)
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.

Replies are listed 'Best First'.
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?
[Corion]: LanX: cmd.exe is just another way to launch Perl
[LanX]: I know its a cult... and I repent it every time
[LanX]: But cygwin comes with path problems and powershell requires too much learning for me
[LanX]: eshell in emacs is often my resort in development
[LanX]: Thx found a solution! :)
[Eily]: I wrote "your" instead of "you're" :'(
[Eily]: I guess it means that my English is good enough that I make the same mistakes as native speakers though :/

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2017-03-27 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.