Memory rise with DOMDocument::getElementsByTagName method
---------------------------------------------------------

         Key: XERCESC-1465
         URL: http://issues.apache.org/jira/browse/XERCESC-1465
     Project: Xerces-C++
        Type: Bug
    Versions: 2.5.0    
 Environment: RH 9
    Reporter: Smtia Zankar


We are using the function DOMDocument::getElementsByTagName in our
application. We have observed that whenever this function gets called
there is an increment in the Memory consumed by our application.
The memory goes up every x times. The memory rise is visible for every x
operations or calls to this method where x is typically greater than 1000.

The application does the following.
- Maintains a XML for storing entries and their attributes.
- Number of entries can be any number from few hundreds to thousands.
- Every entry is identified with a unique number which forms the tagname

- While adding a new entry, a check is performed using the
getElementsByTagName function to see if the entry already exists.
- Also while deleting and modifying the attributes for the entry the
particular XML element is fetched using getElementsByTagName.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to