all groups > dotnet xml > december 2005 >
You're in the

dotnet xml

group:

reading large xml files...


reading large xml files... bongoo
12/19/2005 9:47:18 PM
dotnet xml:
I'm reading a 20Mb xml file in vb.net using .net framework 1.1
But when I'm opening that file for the second time, memory consuption goes
wild...

Do I need to take newer .net framework, or to close XMLDocument on another
way?
(I'm accessing data using XMLDocument & XMLElement)

Is it better to use some another XML parser that the built in system.XML
namespace?

Re: reading large xml files... Oleg Tkachenko [MVP]
12/20/2005 11:50:38 AM
[quoted text, click to view]

Yes, instead of loading the whole document in memeory, process it in a
streaming way using XmlReader.

--
Oleg Tkachenko [XML MVP, MCAD]
AddThis Social Bookmark Button