CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2003
    Posts
    97

    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.

  2. #2
    Join Date
    Jul 2001
    Location
    Pune-India
    Posts
    251

    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

  3. #3
    Join Date
    Mar 2003
    Posts
    97

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured