Hello,
I Have a large XML file where i use Xpath for retrieve some data.
Now that works just fine. But my memory is increasing each time i open a new XML file.
Is it possible to dispose the XPathDocument ?
It is NOT possible to somthing like this:
XPathDocument XDoc = new XPathDocument([Location]);
........ Searching in document ....
((IDisposable)XDoc).Dispose();
Is there a way to decrease my memory ?
Please help me out and ... Thank you for your time.
I Have a large XML file where i use Xpath for retrieve some data.
Now that works just fine. But my memory is increasing each time i open a new XML file.
Is it possible to dispose the XPathDocument ?
It is NOT possible to somthing like this:
XPathDocument XDoc = new XPathDocument([Location]);
........ Searching in document ....
((IDisposable)XDoc).Dispose();
Is there a way to decrease my memory ?
Please help me out and ... Thank you for your time.