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

dotnet xml

group:

XML File Size & Memory


XML File Size & Memory Roshawn Dawson
12/28/2004 1:45:53 PM
dotnet xml:
Hi All,

I have an xml file that is 63mb in size. If I were to load this file
into memory, will it consume 63mb of memory or will it consume more than
that?

Thanks,
Re: XML File Size & Memory Christoph Schittko [MVP]
12/28/2004 2:04:37 PM

That depends on how you're planning to load that document. If you are
loading it into an XmlDocument or an XPathDocument object then it will
consume more memory than the size of the file.

If you simply walk the document with and XmlTextReader then it will
consume less memory.

HTH,
Christoph Schittko
MVP XML
http://weblogs.asp.net/cschittko

[quoted text, click to view]
Re: XML File Size & Memory Roshawn Dawson
12/28/2004 3:34:14 PM
Thanks a lot Chris. That just what I needed to hear. Now to do further
research... :-)

Roshawn

[quoted text, click to view]
AddThis Social Bookmark Button