Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: DBD::ODBC - Why do i get an "out of memory" exception?

by sundialsvc4 (Abbot)
on Apr 18, 2014 at 12:57 UTC ( #1082756=note: print w/ replies, xml ) Need Help??


in reply to DBD::ODBC - Why do i get an "out of memory" exception?

On the one hand, I do believe that the use of defined() in the original code is incorrect.   But, on the other hand, I do not see from what has been presented here a valid cause for an “out of memory” condition.   I suspect that the true cause of the problem lies within the body of the loop, and, unless you can actually, at-will reproduce the condition using exactly the code snippet you posted here, you should assume the same.   Never “think you know” why a piece of code is screwing-up ... prove it.


Comment on Re: DBD::ODBC - Why do i get an "out of memory" exception?
Re^2: DBD::ODBC - Why do i get an "out of memory" exception?
by karlgoethebier (Curate) on Apr 18, 2014 at 14:05 UTC
    "I suspect that the true cause of the problem lies within the body of the loop..."

    Mmh, i don't think so. No. I just join each row and print to a CSV file the usual way.

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-09-21 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (173 votes), past polls