in reply to Re^4: I ran out of memoryin thread I ran out of memory
Or, you could, if possible, generate the page as you are reading the data, and not have to store more than a little bit of the data in memory at a time.
--MidLifeXis