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

Re^2: Out of memory

by wrkrbeee (Scribe)
on Jan 15, 2015 at 15:13 UTC ( [id://1113337]=note: print w/replies, xml ) Need Help??


in reply to Re: Out of memory
in thread Out of memory

Great! This will require a curly bracket to close the WHILE loop, correct? If so, I am placing the closing bracket after the last curly bracket in the code, correct? Thank you so much!!

Replies are listed 'Best First'.
Re^3: Out of memory
by choroba (Cardinal) on Jan 15, 2015 at 15:22 UTC
    No, just reuse the right curly bracket that originally closed the for-loop.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      My apologies, I misunderstood your suggestion, got it now. I am very grateful for tolerance concerning my knowledge of PERL.
      Hi choroba, I replaced the "for each" loop with the "while" loop, but continue to receive the out of memory error. FYI, the crash occurs when downloading a 450MB text file, if that helps. Machine has 6gb of memory installed. I apologize for my ignorance, what I know about PERL fits easily in a doll house thimble.
Re^3: Out of memory
by LanX (Saint) on Jan 15, 2015 at 15:22 UTC
    No like already said you have to replace the for-loop

    Look this is no " copy and pasted code fixing service" , you need to to try to understand what your code does.

    Cheers Rolf

    PS: Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found