http://qs1969.pair.com?node_id=516474


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

Saying the code crashes on large datasets doesn't tell us much. Without some kind of error message I can only speculate at the problem.

With that said, I don't see an obvious error in your loop. This would lead me to believe that the problem is somewhere in the "# do great deads" section, but without any more information it is hard to say.