You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Jerry Napoli <jn...@iteamsolutions.com> on 2008/07/05 16:39:45 UTC

Re: [jira] Created: (XERCESC-1589) XML DOM parser does not release memory on parser:release and resetDocumentPool()

Hi.  I just noticed this too on HPUX IA64.  Our work-around is to adopt 
the document from the XercesDOMParser and release it ourselves.

Thanks,
Jerry

BenKang wrote:
> We have also the same problem using msvc 7.1 compiler.
> We got memory leak, if we create and destroy DOMDocument frequently.
> The DOMDocument is created by DOMBuilder.
> Calling release() or resetDocumentPool does not release resources.
> 
> For work around, we call removeChild with DOMDocument root node as
> parameter.
> It seems to solve the problem.
> Is there another better solution for this problem?
> 
> 
> JIRA xerces-c-dev@xml.apache.org wrote:
>> XML DOM parser does not release memory on parser:release and
>> resetDocumentPool()
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org