Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2097

Xerces C++ memory issue with Hp Nonstop tandem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • 3.1.1
    • None
    • DOM
    • None
    • Hp Nonstop tandem

    Description

      Hi,

      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.

      XMLPlatformUtils::Initialize();
      parser = new XercesDOMParser();

      errorHandler = (ErrorHandler*) new XmlDomErrorHandler();
      parser->setErrorHandler(errorHandler);
      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;
      XMLPlatformUtils::Terminate();

      looking for a fixed version or a work around,

      Thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            siva2553326 sivabalan mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: