Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory leaks using XML in Delphi

Status
Not open for further replies.

Kenbla

Programmer
Oct 11, 2006
68
SE
Hello! I have a problem with memory leaks using XML and appendChild such as this oXMLDoc.mfElement.appendChild(oXMLElement);
I do this in a loop which allocates a lot of memory in the end!
When I'm done with my XML I try to free the memory that I've used but it only releases a small portion of the allocated memory !
This is the code I use in order to free memory: oXMLDoc.Destroy;
I'm missing something but I don't know what it is!
I would appreciate any assistance!
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top