Search found 1 match

by Bhupendra
Thu Jun 19, 2008 1:12 pm
Forum: Known Memory Issues
Topic: Memory Problem in DataSet.ReadXml()
Replies: 0
Views: 17354

Memory Problem in DataSet.ReadXml()

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.