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!
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!