Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: finding the memory footprint of DOMDocument [Thread Next] Re: finding the memory footprint of DOMDocumentTo: NULL Date: 11/2/2006 8:02:00 PM Codedigestion wrote: > I believe there's a method available called, sizeOf() which would do it > for you. Not according to http://xml.apache.org/xerces-c/apiDocs/functions.html and I don't see anything else in there which will directly tell you this. Since the memory manager for Xerces is a plug-in API, you could try supplying an instrumented version thereof and see how many bytes are being allocated and deallocated. Remember to consider alignment issues, which will depend the platform, compiler, and compiler settings. -- () ASCII Ribbon Campaign | Joe Kesselman /\ Stamp out HTML e-mail! | System architexture and kinetic poetry | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
