serializing dataset with huge data

  • Thread starter Thread starter MeDhanush
  • Start date Start date
M

MeDhanush

Hi,

I needed to load a dataset with x number of million records, to avoid
database trips.
To load the dataset with this amount of data, it is taking almost 10
minutes.
We just wanted to see if, we can read it from file in less amount of
time.
So, this requires serialiaztion of existing data into a file. So,
first I needed to load into dataset and serialize data set.
I'm using binary formatter.

It was able to load into dataset, but failed to serialize, as it
throwing OutOfMemory exception.
Virtual memory size has been set to its maximum.

Any ideas please...?

TIA
MeDhanush
 
MeDhanush said:
Hi,

I needed to load a dataset with x number of million records, to avoid
database trips.
To load the dataset with this amount of data, it is taking almost 10
minutes.
We just wanted to see if, we can read it from file in less amount of
time.
So, this requires serialiaztion of existing data into a file. So,
first I needed to load into dataset and serialize data set.
I'm using binary formatter.

It was able to load into dataset, but failed to serialize, as it
throwing OutOfMemory exception.
Virtual memory size has been set to its maximum.

Any ideas please...?

TIA
MeDhanush
Sounds more like some sort of circular thing you have in the dataset.
 
Back
Top