Question : System.OutOfMemoryExceptio<wbr />n when filling dataset with 655,000 rows - need workaround!!

I am getting a System.OutOfMemoryException when attempting to fill a Dataset.  The dataset that I am attempting to fill this with has 655,412 rows and like 130 fields per row.  Is there anything I can do??  My ultimate goal is to get an xml version of this dataset, compress it and save that zipped file to disk.  Is there anyway i can do something like stream the data to xml from the adapter?  Help!!

Answer : System.OutOfMemoryExceptio<wbr />n when filling dataset with 655,000 rows - need workaround!!

I think that many options have been presented (pagination, using a bulk-copy program, etc.)

There are other options, but there has been no feedback from dougschultz.

It would be nice to know if any of the suggestions worked.

Greetings
Random Solutions  
 
programming4us programming4us