Hi,
Ram wrote:
Hi Jesse,
Actually I have posted this only after going through
the archives. That discussion was not conclusive.
There has been some related discussion. I summarized it in a blog entry:
http://blog.parthenoncomputing.com/xerces/archives/2005/05/memory_manageme.html
My Question is :
a)If we search for non-existent entries in a file why
the memory is increased using getElementsByTagName() ?
(I may not have the liberty to release the document
everytime.)
It certainly will be the first time since the node list pool is
created. After that, a DOMNodeList still has to returned and
therefore allocated (even if it is empty).
Regards,
Gareth
b)Its not a memory leak but memory in use. I want to
know the motive behind such alloation strategy ?
Thanks for your time.
-> Ram
--- Jesse Pelton <[EMAIL PROTECTED]> wrote:
I think this issue has been discussed on this list
recently. Check the
archives.
-----Original Message-----
From: Ram [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 11:26 AM
To: [email protected]
Subject: memory leak with getElementsByTagName()
Hi,
Xerces Version Used : 2.5.0
OS : RH 9.0
GCC Version : 3.3.3 20040412
We are observing memory leak/usage ( using:top/ps
commands) with getElementsByTagName(). Attached
find a
sample app which helps reproduce this issue.
Input file contais sample entries. App. tries to
search for non-existent entries in this XML file.
Please let me know if its an issue already known
with
2.5.0 version.
-> Ram
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Gareth Reakes, Managing Director Embrace Mobile
+44-1865-811197 http://www.embracemobile.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]