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

Re: Out of Memory Error -- Possible Leak?

by ok (Beadle)
on Dec 14, 2005 at 23:44 UTC ( [id://516808]=note: print w/replies, xml ) Need Help??


in reply to Out of Memory Error -- Possible Leak?

When processing ginormous data sets, try to use while instead of for.

for wants to load the entire dataset into memory but while wants to load each datum as you request it.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-20 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found