XmlDocument load function is giving Out of Memory Exception For large XML file(135mb)
Hi,
XmlDocument xmlDom = new XmlDocument();
xmlDom.Load("D:\CPDCL_01HW342889_ALL_new.xml");
according to me Innerxml data member of XmlDocument can not able to hold this large string data,
as its showing innerxml out of memmory exception when we load the xml.
since xml file is 135 mb, so we can not attach.so please let me know how to load the large (135mb)
xml file.
so we are waiting for ur reply.
Thanks
Abhi
Re: XmlDocument load function is giving Out of Memory Exception For large XML file(13
Re: XmlDocument load function is giving Out of Memory Exception For large XML file(13
Use XmlReader instead of XmlDocument. It's a forward-only parser which does not require all of the data to be in memory at one time.