OutOfMemory-Exeption - Are there any Limits for a DataTable

  • Thread starter Thread starter ilara
  • Start date Start date
I

ilara

Hi There,

I am loading a large amount of Data from a Xml-File into
a DataSet. After about loading 1 Million Rows into one
DataTable I get an OutOfMemory-Exception. But there is
still memory available. When I look at the TaskManager
the Process uses ca. 1.5 GB Memory.

Thanks for Help.


Ilara
 
I've got this Toyota pickup with the same problem. After I load about 90
tons of rock from the local quarry, the acceleration is really pretty
bad--not to mention it's so hard to get the doors open.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
Hi,

but I don't have a Toyota. I've got a really big pickup.

The machine where I'm running the process has got 4 GB of
Memory. I don't know why I become this OutOfMemory-
Exception when there is still so much memory available.

Thanks,

Ilara
 
Hi Ilara,
Sometimes this kind of errors become through the settings of the virtual
memory, did you put a maximum on that?
Cor
 
Hi Cor,

yes, I put a maximum on that. The Maximum is 2048 MB.
When the exception occurs there is still a lot of virtual
memory available.

Thanks.

Ilara
 
Back
Top