Memory footprint of a parsed XML file in Classic ASP?

Posted by Pete Duncanson on Stack Overflow See other posts from Stack Overflow or by Pete Duncanson
Published on 2010-03-20T11:12:05Z Indexed on 2010/03/20 11:21 UTC
Read the original article Hit count: 360

Filed under:
|
|
|

Anyone know of a way to find out the amount of memory/size of a XMLDocument once it has parsed a XML file? I've been doing "beer mat" calculations so far but have been asked to come up with some more legit numbers through monitoring some how.

I need to create about 1500 XML files (via FreeThreadedXMl-DOM object), which verge between 3-9K in size and store them in Application vars but our SysAdmin is worried about us gobbling up too much memory.

Other than the crude method of booting up a fresh IIS instance and then loading everything in and monitoring before and after memory usage in Task Manager I can't think of a way of doing it with a bit more accuracy.

© Stack Overflow or respective owner

Related posts about asp-classic

Related posts about Xml