Message: The following issue has been resolved as INVALID.
Resolver: cargilld Date: Tue, 12 Oct 2004 9:41 AM Marking invalid as per previous comment from Dallas. --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-1213 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-1213 Summary: delete XercesDOMParser object does not release memory under Sun Solaris Type: Bug Status: Resolved Priority: Critical Resolution: INVALID Project: Xerces-C++ Components: Non-Validating Parser Versions: 2.3.0 Assignee: Reporter: Kirill Shiff Created: Fri, 14 May 2004 9:05 AM Updated: Tue, 12 Oct 2004 9:41 AM Environment: Sun Solaris Xerces 2.3 Description: For following example Xerces does not release memory by delete m_pParser (nother by Terminate()) . It happends on Sun Solaris. Under windows it works OK. however for i > 0 there is no allocated memory increase... XMLPlatformUtils::Initialize(); for(long i = 0; i < 5; i++) { DOMNode* m_pRoot = 0; DOMDocument* m_pDOMDocument = 0; XercesDOMParser* m_pParser = new XERCES_CPP_NAMESPACE_QUALIFIER XercesDOMParser(); m_pParser->setDoNamespaces(true); m_pParser->setValidationScheme(AbstractDOMParser::Val_Auto); m_pParser->setExpandEntityReferences(false); m_pParser->setIncludeIgnorableWhitespace(false); m_pParser->useCachedGrammarInParse(false); m_pParser->parse(xmlFile); m_pDOMDocument = m_pParser->getDocument(); .... m_pRoot = m_pDOMDocument->getFirstChild(); m_pParser->resetDocumentPool(); m_pParser->resetCachedGrammarPool(); delete m_pParser, m_pParser = 0; } XMLPlatformUtils::Terminate(); --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]