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.
Additional information: I use a Sybase (ASA 9) database, but my C# application crashes before I handle the db. The error occures after I read the XML into the dataset and want to work with the ds. I already read that this is a known error when using datasets with large content. I need the data in a dataset at least once, because I need to import it into the db.