How do you get the size of DOM (MSXML) object in memory?
How do you get the size of DOM (MSXML) object in memory?
Is it possible it get? or will I have to add all the sizeof() totals of each element (IXMLDOMNode, IXMLDOMAttribute, ...) I add to the DOM object and count the number of characters used for values and names in the document?
Any ideas would be great on get the size of the whole object in memory would be great.
Re: How do you get the size of DOM (MSXML) object in memory?
I think this could help you to sort out the issue.
http://msdn.microsoft.com/library/de...maxxmlsize.asp
Thanks
Nagesh
Re: How do you get the size of DOM (MSXML) object in memory?
Nope, it won't work, but thanks anyway.
That only works if your loading a DOM object from a file. I am creating a DOM document by using a SAX parser.
We have huge XML file (500mb) and we want to break it up into segments. We use the SAX parser to create and populate a DOM object till it gets to a certain size and then operations are performed on it.