[ http://nagoya.apache.org/jira/browse/XERCESC-534?page=history ]
Alberto Massari updated XERCESC-534: ------------------------------------ Priority: Major > Memory leak in DOMParser > ------------------------ > > Key: XERCESC-534 > URL: http://nagoya.apache.org/jira/browse/XERCESC-534 > Project: Xerces-C++ > Type: Bug > Components: Non-Validating Parser > Versions: 1.7.0 > Environment: Operating System: Windows NT/2K > Platform: PC > Reporter: Derek > Assignee: Xerces-C Developers Mailing List > > I have found a memory leak in the DOMParser class. The parser method seem to > leak memory every time I call it. I compiled the one of the samples (MemParse) > and it also seem to loose memory. > I parse a xml stream from memory using the MemBufInputSource class. The leak > size depends on the size of the xml stream. > I have written a server type application that resolves xml requests from the > web. If the application runs through a few request, I loose a significaqnt > amount of memory. Is there something that I do not initialise or something > thast I might be doing wrong? > Code: > XMLPlatformUtils::Initialize(); > DOMParser *p = new DOMParser(); > MemBufInputSource source(...); > try{ > p->parse(source); // This statement seem to loose memory. > } > catch{ ... } > delete p; > XMLPlatformUtils::Terminate(); > regards > Derek -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.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]