Page 1 of 1

Memory Problem in DataSet.ReadXml()

Posted: Thu Jun 19, 2008 1:12 pm
by Bhupendra
after storing data in dataset from xml file through ReadXml(fileName), it persist in memory even after disposing dataset.

here is the code....
DataSet tempDs = new DataSet();
tempDs.ReadXml(<filename>);
//Do some operation
tempDs = null;

even after making dataset null...memory consumed persist.