Hey,
Elisha Berns wrote:
Gareth, Thanks for the blog entry; however, it too is less than clear. You write,
I will clean up the language.
"To release all memory consumed then you must delete the document. If, after deleting the document you still see a memory leak then there may well be a memory leak." What exactly does "deleting the document" mean in code? Is it calling: DOMDocument::release() after creating and appending all sorts of nodes, elements and attributes?
It is calling release. The release code ends up deleting the doc proper and the destructor of DOMDocumentImpl cleans up everything else including the heap being used.
Please reply if further clarification is required. Cheers, Gareth -- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
