OutOfMemory-Exeption - Are there any Limits for a DataTable

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
 
W

William \(Bill\) Vaughn

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.
__________________________________
 
I

Ilara

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
 
C

Cor

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

Ilara

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top