XP is just a number | |
PerlMonks |
Out of memory helpby dimmesdale (Friar) |
on Jul 19, 2002 at 17:18 UTC ( [id://183321]=perlquestion: print w/replies, xml ) | Need Help?? |
dimmesdale has asked for the wisdom of the Perl Monks concerning the following question:
Monks...
I have a script I'm running, and as part of (the MUCH larger) application, there's a function that takes up so much memory that perl tells me i'm out of it. I've had it working elsewhere (I've modified it slightly and added some things), but need help. The file I'm processing is REALLY large (hence the line by line read in) -- and when I say large, I'm talking about 500-2400 KB in size. I've done some debugging and the results are REALLY confusing to me. Everything works fine ... until I get to the last statement of the while loop. I added a print I'm at the end of the while loop-ish statement, and it prints. However, a print I'm out of a while loop-ish statement doesn't print. IT NEVER LEAVES THE LOOP, but stops looping, seemingly. Here's the code:
Back to
Seekers of Perl Wisdom
|
|