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


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

You are close to running out of memory before you hit the foreach loop. You should probably start thinking about using some sort of database rather than keeping all that data in memory.