sivabalan mani created XERCESC-2097:

             Summary: Xerces C++ memory issue with Hp Nonstop tandem
                 Key: XERCESC-2097
             Project: Xerces-C++
          Issue Type: Bug
          Components: DOM
    Affects Versions: 3.1.1
         Environment: Hp Nonstop tandem
            Reporter: sivabalan mani
            Priority: Critical


I wrote simple dom parser and found that the parser is not releases even after 
a call to release the parser / delete the parser itself. Looks like the memory 
allocated by the parser was never released until you stop the process.

        parser = new XercesDOMParser();

        errorHandler = (ErrorHandler*) new XmlDomErrorHandler();
        parser->parse("xmlfile"); // through analysis the memory set in the 
parse call was never released until you stop the code
        m_doc = parser->getDocument();

        for loop to read through all nodes and child

        delete errorHandler;
    delete parser;

looking for a fixed version are a work around,


This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to