Large XML files in dataset (outofmemory)
- by dklein
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.