You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Christian Lizell <Ch...@athega.se> on 2000/02/07 19:49:49 UTC

cloneNode() eats memory?

Hi!

Is it the correct behavior that the following statement
is not releasing the memory for the cloned node?

	Node clonedNode = someNode.cloneNode(true);
	clonedNode = null;

Besides the owner Document, what is linked to the cloned
node?
How can I restore the memory the cloned node is occupying
or how can I delete it?

Is it perhaps a bug?


Thanks,
/Christian Lizell


-- 
__ Athega AB _____________________ for net workers __
 Kungsgatan 58                  phone +46 8 54513330
 S-111 22 Stockholm, SWEDEN       fax +46 8 54513338
 http://www.athega.se/         mobile +46 709 156000