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 Colin Paul Adams <co...@colina.demon.co.uk> on 2003/06/08 17:57:31 UTC

DOMBuilder::release()

As I understand the documentation, DOMDocuments created by calling
DOMBuilder::parseURI() must not be realese()d - instead you MUST call DOMBuilder::release() 
to free the memory for the documents and the dombuilder at the same
time?

Is this a correct understanding? If so, then this seems to create a
mutual dpendency between the dombuilder and the domdocument, such that
you cannot use the same dombuilder to create a large number of
documents, without tying up a large amount of memory, as you cannot
release the individual domdocuments as you finish with them.
-- 
Colin Paul Adams
Preston Lancashire

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