Hi,
Smita wrote:
Hi,
We are using the function DOMDocument::getElementsByTagName in our
application. We have observed that whenever this function gets called
there is an
increment in the Memory consumed by our application.
The method returns a DOMNodeList which has to be allocated. When the
document is released the memory will be reclaimed. However, it is
strange that is goes up each time the method is called. The node list is
allocated from a section of memory that we have already reserved. When
that memory is used up another chunk is consumed. Are you sure you see
it go up every time, or just every x times?
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]