Large XML files in dataset (outofmemory)
Posted
by dklein
on Stack Overflow
See other posts from Stack Overflow
or by dklein
Published on 2010-04-19T13:43:42Z
Indexed on
2010/04/19
13:53 UTC
Read the original article
Hit count: 588
Hi folks,
I am currently trying to load a slightly large xml file into a dataset. The xml file is about 700 MB and every time I try to read the xml it needs plenty of time and after a while it throws an "out of memory" exception.
DataSet ds = new DataSet();
ds.ReadXml(pathtofile);
The main problem is, that it is necessary for me to use those datasets (I use it to import the data from xml file into a sybase database (foreach table, foreach row, foreach column)) and that I have no scheme file.
I already googled a while, but I did only find solutions that won't be usable for me.
© Stack Overflow or respective owner