Like all object oriented systems, this is very difficult. The whole point of
OO is to encapsulate data, and there is often a lot of pointers to
encapsulated data, making it impossible to use any kind of 'sizeof' type of
tricks.
--------------
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-----Original Message-----
From: Zhang, Min [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 1:34 PM
To: [EMAIL PROTECTED]
Subject: memory usage of XML document
Hi,
How do I know the memory size of parsed XML document?
For example,
DOMParser parser;
parser.parse(xmlFile);
DOM_Document doc=parser.getDocument();
doc is just a referrencing object. How do I know the exact memory size of
the underlying XML document.
Thanks for your help!
min
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]