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


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.